File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
src/test/groovy/graphql/kickstart/tools Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ class SchemaParserSpec extends Specification {
383383 id: ID!
384384 c: C
385385 }
386- type Query {}
386+ type Query { test: Boolean }
387387 type Mutation {
388388 test(input: A!): Boolean
389389 testC(input: C!): Boolean
@@ -394,17 +394,23 @@ class SchemaParserSpec extends Specification {
394394 String id;
395395 B b;
396396 }
397+
397398 static class B {
398399 String id;
399400 A a;
400401 }
402+
401403 static class C {
402404 String id;
403405 C c;
404406 }
407+
405408 boolean test (A a ) { return true }
409+
406410 boolean testC (C c ) { return true }
407- }, new GraphQLQueryResolver () {})
411+ }, new GraphQLQueryResolver () {
412+ boolean test () { false }
413+ })
408414 .build()
409415 .makeExecutableSchema()
410416
You can’t perform that action at this time.
0 commit comments