Skip to content

Variables Object wrapped in double quotes #134

@WilliamHolmes

Description

@WilliamHolmes

According to the GraphQL spec, the variables key in the body should be sent as an Object.
GraphiQL client sends this as a string which can cause unexpected behaviour on other GraphQL servers which follow the spec.

operationName:"getFilms"
query:"query getFilms($first: Int){↵  allFilms(first: $first) {↵    edges {↵      node {↵        id↵        title↵      }↵    }↵  }↵}↵"
variables:"{"first": 2}"

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