graphql-java/graphql-java-spring

Can not acquire the query context(dataFetchingEnviornment) when implement 'GraphQLResolver' to handle query.

Closed this issue · 1 comments

When I implement the interface 'GraphQLQueryResolver' to handle query request, the 'DataFetchingEnvironment' is not provided. Thus I must configure a spring 'GraphQL' bean to register a data fetcher to get the enviornment. Has there any shortcuts please?

This project is now archived in favor of the official Spring GraphQL integration.