Skip to content

Parsing arrays of ENUMs doesn't work #247

@leoloso

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.

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