Skip to content
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
@apollo7733

Description

@apollo7733
@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions