graphql-java-tools
graphql-java-tools copied to clipboard
A schema-first tool for graphql-java inspired by graphql-tools for JS
I was trying to implement Relay / Connection example, accidentally I made a mistake in schema file and console was giving parsing errors. It looked something like this : `Caused...
2022-01-06 13:13:20.735 INFO [middleware,,] 25572 --- [ restartedMain] com.jncb.middleware.Application : Starting Application using Java 1.8.0_262 on MBZYK5H2 with PID 25572 (C:\Users\middleware\target\classes started by mcfarlanecm in C:\Users\middleware) 2022-01-06 13:13:20.737 DEBUG [middleware,,]...
I'm unable to use an union in an interface unless that union is referenced in a concrete type. Here is an example: ```graphql type Query { query: TestInterface # dummy:...
Building schema parser fails when java.util.List is used with a type parameter from a generic class
Affected version: 6.2.0 ## Description I am having difficulties backing an input object with a Java class that inherits a `java.util.List` property from its generic super class. Given this schema:...
Application not starting due to GraphQLQueryResolver. Works fine after it's removed. {"timestamp":"2021-08-27T20:43:13,786Z","level":"ERROR","thread":"main","message":"Application run failed","logger":"org.springframework.boot.SpringApplication","throwable":{"class":"org.springframework.beans.factory.BeanCreationException","msg":"Error creating bean with name 'serverEndpointExporter' defined in class path resource [graphql/kickstart/spring/web/boot/GraphQLWebsocketAutoConfiguration.class]: Invocation of init method failed;...
__I want to suggest an idea and checked that ...__ - [X] ... to my best knowledge, my idea wouldn't break something for other users - [X] ... the documentation...
## Description Consider the following dataclass hierarchy: ```java abstract class Base { } class Thing extends Base { } ``` This is a custom resolver for the abstract class `Base`:...
[examples.zip](https://github.com/graphql-java-kickstart/graphql-java-tools/files/6738662/examples.zip) ## Description A runtime error (``java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/util/JacksonFeature``) occurs after adding ``com.graphql-java-kickstart:graphql-java-servlet`` as dependency. This is not the case for earlier versions of ``com.graphql-java-kickstart:graphql-java-servlet``. ``examples.zip`` contains minimal examples that produce...
__I want to suggest an idea and checked that ...__ - [X] ... to my best knowledge, my idea wouldn't break something for other users - [X] ... the documentation...
I'm trying to define some graphQL types dynamically using a typeDefinitionFactory and the fact that field values can be resolved using the `Map.get()` method. It seems to be working fine...