You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the GraphqlPostHandler constructs an ExecutionInput and executes the graphql query without providing an option for user provided DataLoaderRegistry
Alternatively, we should be able to use Instrumentation.instrumentExecutionInput(input, parameters), but there is a bug in graphqlgraphql-java/graphql-java#1667
It is still possible to do it via instrumentation but I think data loader registry could be added to router.
The text was updated successfully, but these errors were encountered:
Currently, the
GraphqlPostHandler
constructs anExecutionInput
and executes the graphql query without providing an option for user providedDataLoaderRegistry
light-graphql-4j/graphql-router/src/main/java/com/networknt/graphql/router/handlers/GraphqlPostHandler.java
Line 89 in 808682f
When using
DataLoader
we need to setdataLoaderRegistry
Alternatively, we should be able to use
Instrumentation.instrumentExecutionInput(input, parameters)
, but there is a bug ingraphql
graphql-java/graphql-java#1667It is still possible to do it via instrumentation but I think data loader registry could be added to router.
The text was updated successfully, but these errors were encountered: