Skip to content

Parsing arrays of ENUMs doesn't work #247

Description

@leoloso

I have declared the type of an input to be [ENUM], hence I should be able to query it like this:

query {
  someField(input: [enumValue]) {
    ...
  }
}

However it doesn't work, I get the following error message:

{
  "errors": [
    {
      "message": "Can't parse argument",
      "location": {
        "line": ...,
        "column": ...      }
    }
  ]
}

Passing an ENUM value as an input works well, passing arrays of string works well, but passing arrays of ENUMs does not.

Activity

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