graphql-java-tools
graphql-java-tools copied to clipboard
A schema-first tool for graphql-java inspired by graphql-tools for JS
When I write this code: ``` public class Ab implements GraphQLQueryResolver { @Data @NoArgsConstructor public static class A { private T e; } public ... find(A c) { return ......
With a schema like the following I get the error that `ReferenceSportsClassInput` is not of type `GraphQLInputType`, but it clearly is. Debugging into `com.coxautodev.graphql.tools.SchemaParser` shows, that `ReferenceSportsClassInput` is listed in...
I am using directives from [graphql-java-extended-validation](https://github.com/graphql-java/graphql-java-extended-validation). A directive can apply to an input object types (`GraphQLInputObjectType`). A check makes sure that the current input instance is of type `GraphQLInputObjectType` before...
First of all thanks for the great library, it has been working amazing for us so far! We were happily surprised when graphql-java-kickstart worked immediately with suspend resolvers. We would...
Code: https://github.com/sutra/graphql-java-tools/commit/36025fa0e6ec994b0b87b9d3b1ee52ddc25a6aba
I want to have some kind of `TestResolver implements GraphQLResolver` but result of code above is `throw ResolverError("Unable to determine data class for resolver '${resolverType.name}' from generic interface! This is...
I am trying to use graphql-java-tools to wrap my vertx/reactivex with jooq application. For now, I'm trying to just use the default generic wrappers, so I convert all my reactivex...
When i tried to return a Connection in a resolver which would be coupled to a simple list type in the graphql schema (which is evidently wrong) i got the...
Generic wrappers don't work if used not as outermost wrapper, i.e. `Wrapper` works while `List` doesn't. My example, with [Vavr](https://github.com/vavr-io/vavr) `Try`: ```java package com.my.test; import com.coxautodev.graphql.tools.GraphQLQueryResolver; import com.coxautodev.graphql.tools.SchemaParser; import com.coxautodev.graphql.tools.SchemaParserOptions;...
There seems to be no way to automatically enforce correctness of SDL-defined directives, their target and arguments. Graphql-java supports it since https://github.com/graphql-java/graphql-java/issues/1004, but there doesn't seem to be a way...