File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Tests/GraphQLTests/ValidationTests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -72,10 +72,10 @@ let ValidationExampleCanine = try! GraphQLInterfaceType(
72
72
args: [ " surname " : GraphQLArgument ( type: GraphQLBoolean) ]
73
73
) ,
74
74
" mother " : GraphQLField (
75
- type: GraphQLTypeReference ( " Mammal " )
75
+ type: ValidationExampleMammal
76
76
) ,
77
77
" father " : GraphQLField (
78
- type: GraphQLTypeReference ( " Mammal " )
78
+ type: ValidationExampleMammal
79
79
) ,
80
80
] ,
81
81
resolveType: { _, _, _ in
@@ -176,14 +176,14 @@ let ValidationExampleDog = try! GraphQLObjectType(
176
176
}
177
177
) ,
178
178
" mother " : GraphQLField (
179
- type: GraphQLTypeReference ( " Mammal " ) ,
179
+ type: ValidationExampleMammal ,
180
180
resolve: { inputValue, _, _, _ -> String ? in
181
181
print ( type ( of: inputValue) )
182
182
return nil
183
183
}
184
184
) ,
185
185
" father " : GraphQLField (
186
- type: GraphQLTypeReference ( " Mammal " ) ,
186
+ type: ValidationExampleMammal ,
187
187
resolve: { inputValue, _, _, _ -> String ? in
188
188
print ( type ( of: inputValue) )
189
189
return nil
You can’t perform that action at this time.
0 commit comments