Skip to content

GraphQLEnumType __DirectiveLocation has wrong definition for VARIABLE_DEFINITION value #2702

@arlampin

Description

@arlampin

Describe the bug
/src/main/java/graphql/introspection/Introspection.java has definition for __DirectiveLocation GraphQL enum on Introspection.java#L424. There seems to be a mistake on line 434, where VARIABLE_DEFINITION GraphQL enum value is linked to internal DirectiveLocation.INPUT_FIELD_DEFINITION Java enum value.

To Reproduce
Not sure, I noticed the issue when investigating the code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions