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(
7272 args: [ " surname " : GraphQLArgument ( type: GraphQLBoolean) ]
7373 ) ,
7474 " mother " : GraphQLField (
75- type: GraphQLTypeReference ( " Mammal " )
75+ type: ValidationExampleMammal
7676 ) ,
7777 " father " : GraphQLField (
78- type: GraphQLTypeReference ( " Mammal " )
78+ type: ValidationExampleMammal
7979 ) ,
8080 ] ,
8181 resolveType: { _, _, _ in
@@ -176,14 +176,14 @@ let ValidationExampleDog = try! GraphQLObjectType(
176176 }
177177 ) ,
178178 " mother " : GraphQLField (
179- type: GraphQLTypeReference ( " Mammal " ) ,
179+ type: ValidationExampleMammal ,
180180 resolve: { inputValue, _, _, _ -> String ? in
181181 print ( type ( of: inputValue) )
182182 return nil
183183 }
184184 ) ,
185185 " father " : GraphQLField (
186- type: GraphQLTypeReference ( " Mammal " ) ,
186+ type: ValidationExampleMammal ,
187187 resolve: { inputValue, _, _, _ -> String ? in
188188 print ( type ( of: inputValue) )
189189 return nil
You can’t perform that action at this time.
0 commit comments