How to wire in the resolvers directly into the graphql RuntimeWiring class ? #1577
Unanswered
divyanshubhati
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to wire in the resolvers generated by the library directly into the GraphQL RuntimeWiring class. I am thinking to
make use of the parentInterfaces option of the generator to generate resolvers that extend graphql.schema.DataFetcher. I have specified the following in my build.gradle file :
but DataFetcher requires T as a generic type parameter, how do I take care of that ?
OR if we have a better approach please do share.
EDIT: I am using plain graphQL-java library, without spring.
Thank You!
Beta Was this translation helpful? Give feedback.
All reactions