Skip to content

GraphQLEnumType __DirectiveLocation has wrong definition for VARIABLE_DEFINITION value #2702

Closed

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

Activity

  1. added a commit that references this issue on Jan 30, 2022
    5270250
  2. added a commit that references this issue on Jan 31, 2022
    7bac61e
  3. bbakerman commented on Jan 31, 2022

    @bbakerman
    Member

    Thanks for the bug report and fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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