We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 169d317 commit 2c707d4Copy full SHA for 2c707d4
1 file changed
src/test/groovy/graphql/kickstart/tools/SchemaParserSpec.groovy
@@ -383,7 +383,7 @@ class SchemaParserSpec extends Specification {
383
id: ID!
384
c: C
385
}
386
- type Query {}
+ type Query { test: Boolean }
387
type Mutation {
388
test(input: A!): Boolean
389
testC(input: C!): Boolean
@@ -394,17 +394,23 @@ class SchemaParserSpec extends Specification {
394
String id;
395
B b;
396
397
+
398
static class B {
399
400
A a;
401
402
403
static class C {
404
405
C c;
406
407
408
boolean test(A a) { return true }
409
410
boolean testC(C c) { return true }
- }, new GraphQLQueryResolver() {})
411
+ }, new GraphQLQueryResolver() {
412
+ boolean test() { false }
413
+ })
414
.build()
415
.makeExecutableSchema()
416
0 commit comments