This repository was archived by the owner on Dec 19, 2023. It is now read-only.
This repository was archived by the owner on Dec 19, 2023. It is now read-only.
env.getCodeRegistry() is null #255
Closed
Description
@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