Skip to content

Support both string and array variables recieved  #230

@erangakm

Description

@erangakm

Currently only arrays are supported.

When sent a request with arrays as variables I get the following error: body: { error: { message: 'Argument 1 passed to GraphQL\\Validator\\Rules\\QueryComplexity::setRawVariableValues() must be of the type array, string given, called in /portal/library/composer/webonyx/graphql-php/src/GraphQL.php on line 62 and defined' } } }.

Any reason why only arrays are allowed if this is intentional? If not it should support both formats.

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