graphql-java-tools
graphql-java-tools copied to clipboard
A schema-first tool for graphql-java inspired by graphql-tools for JS
Hi, I am getting the nested type not being recognized error when using this on a mutation. **Schema** ` type Query { hero(episode: Episode): Character human(id: String!): Human droid(id: String!):...
I have some trouble with custom scalars that are only used in input types. I used the [https://github.com/graphql-java-kickstart/graphql-java-tools/tree/master/example](example from this repository) to recreate this problem. I've just added a scalar...
```graphql mutation { createCat(enabled: Boolean): Cat! } ``` ```java public Cat createCat(boolean enabled) { ... } ``` when executing: ```graphql mutation { createCat { id } } ``` The value...
We have a mutation with an input type that includes custom scalars. We would like to have our mutation resolver being called with the parsed value for the input type...
See https://github.com/graphql-java-kickstart/graphql-java-tools/issues/77#issuecomment-662855626 We should throw an error when building the schema.
I'm on a bit of a wild goose chase. I filed a bug with [codegen-graphql](https://github.com/dotansimha/graphql-code-generator/issues/4413) about a crash which instead seems to be the fault of graphql-java-tools. The problem comes...
To reproduce: ```java SchemaParserOptions options = SchemaParserOptions.newOptions() .contextClass(CustomContext.class) .build(); ``` ```graphql type Mutation { myMutation( id: ID! field: String! persist: Boolean! ): Entity } ``` The following method field resolver...
``` com.coxautodev.graphql.tools.SchemaClassScannerError: Object type 'WeirdPet' is a member of a known union, but no class could be found for that type name. ``` my schema ``` union Pet = NormalPet...
I use graphql-spring-boot-starter 7.1.0 version. My code. ```java @Component class AuthResolver(val jwtUserService: JWTUserService, val authenticationProvider: AuthenticationProvider) : GraphQLQueryResolver { @PreAuthorize("isAuthenticated()") fun getToken(): String? { return "token" } } ``` then...
Hi, I am trying to create a generic wrapper for the Option type in the Kotlin library, Arrow. I get the following error: ```Can't resolve value (/user/register/errors) : type mismatch...