Description
Description
I am using the following dependencies:
graphql-java-tools: 13.0.2
com.graphql-java-kickstart: 14.1.0
com.graphql-java: 19.2
Since I am planning to use graphql Federation, I am trying to add the following dependency:
federation-graphql-java-support: 2.3.0
When I add it to my POM, I see the following error:
Caused by: graphql.kickstart.tools.SchemaError: Expected type 'FieldSet' to be a GraphQLInputType, but it wasn't! Was a type only permitted for object types incorrectly used as an input type, or vice-versa?
at graphql.kickstart.tools.SchemaParser.determineType(SchemaParser.kt:379)
at graphql.kickstart.tools.SchemaParser.determineInputType(SchemaParser.kt:397)
at graphql.kickstart.tools.SchemaParser.determineInputType(SchemaParser.kt:389)
at graphql.kickstart.tools.SchemaParser.createArgument(SchemaParser.kt:302)
at graphql.kickstart.tools.SchemaParser.createDirective(SchemaParser.kt:322)
at graphql.kickstart.tools.SchemaParser.parseSchemaObjects(SchemaParser.kt:84)
at graphql.kickstart.tools.SchemaParser.makeExecutableSchema(SchemaParser.kt:111)
I haven't changed any of my code to add in any Federation Schema Transformation, so I'm a bit confused why it would even error.
Expected behavior
The application starts without errors
Actual behavior
The application fails to start, due to the above error
Steps to reproduce the bug
-
Have a spring boot application with the following dependencies:
I am using the following dependencies:
graphql-java-tools: 13.0.2
com.graphql-java-kickstart: 14.1.0
com.graphql-java: 19.2 -
Then add the follow federation dependency:
federation-graphql-java-support: 2.3.0