-
Notifications
You must be signed in to change notification settings - Fork 326
Add support for graphql-java-annotations? #5
Comments
Do you happen to have ideas about how this could work? I don't use annotations so I'm not sure if I'm the right person to implement this. |
@bbakerman do you have any input on how this might work? |
Instead of using
Schema itself looks good with my Below is how I defined my Query
Here is the screenshot of my generated schema showing the mutation type have newAuthor field. |
I guess the problem is, that graphql-java-annotations inspects the class itself, but not the instantiated singleton object. |
…aphQL Annotations support
…aphQL Annotations support
…trate GraphQL Annotations support" This reverts commit 8ea966e
…ce is exposed as bean If no custom implementation is provided.
…ql-java-tools interfaces Also remove the dependency on GraphQL Java Tools. Instead of using the marker interfaces from this library, annotations of the same name are defined for the same purpose. Revert Reflections library version because of a critical issue.
…aphQL Annotations support
…trate GraphQL Annotations support" This reverts commit 8ea966e
…ce is exposed as bean If no custom implementation is provided.
…ql-java-tools interfaces Also remove the dependency on GraphQL Java Tools. Instead of using the marker interfaces from this library, annotations of the same name are defined for the same purpose. Revert Reflections library version because of a critical issue.
…aphQL Annotations support
…trate GraphQL Annotations support" This reverts commit 8ea966e
…ce is exposed as bean If no custom implementation is provided.
…ql-java-tools interfaces Also remove the dependency on GraphQL Java Tools. Instead of using the marker interfaces from this library, annotations of the same name are defined for the same purpose. Revert Reflections library version because of a critical issue.
…o the latest version
…ls configuration This change is no longer required for GraphQL Annotations integration to work, as it excludes this dependency.
…aphQL Annotations support
…trate GraphQL Annotations support" This reverts commit 8ea966e
…ce is exposed as bean If no custom implementation is provided.
…ql-java-tools interfaces Also remove the dependency on GraphQL Java Tools. Instead of using the marker interfaces from this library, annotations of the same name are defined for the same purpose. Revert Reflections library version because of a critical issue.
…o the latest version
…ls configuration This change is no longer required for GraphQL Annotations integration to work, as it excludes this dependency.
This has been added to 7.2.0 thanks to @BlasiusSecundus |
Currently this project can discover schema automatically defined by graphql-java-tools, it would be good if we can support graphql-java-annotations too.
The text was updated successfully, but these errors were encountered: