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
{{ message }}
This repository was archived by the owner on Dec 19, 2023. It is now read-only.
@Override
public GraphQLFieldDefinition onField(SchemaDirectiveWiringEnvironment<GraphQLFieldDefinition> env) {
System.err.println(env.getCodeRegistry());
return env.getElement();
}
// to be removed in a future version when all code is in the code registry
DataFetcher getDataFetcher() {
return dataFetcherFactory.get(newDataFetchingFactoryEnvironment()
.fieldDefinition(this)
.build());
}
but env.getCodeRegistry() is null in SchemaDirectiveWiring
The text was updated successfully, but these errors were encountered:
In graphql-java-tools version 5.6.1 the CodeRegistry is now passed on when constructing custom directives. Can you check whether that indeed solves this problem for you?
but env.getCodeRegistry() is null in SchemaDirectiveWiring
The text was updated successfully, but these errors were encountered: