graphql-ide icon indicating copy to clipboard operation
graphql-ide copied to clipboard

Update GraphiQL to latest version - POST Request is not Spec conform

Open glucaci opened this issue 6 years ago • 0 comments

This is how the POST Request payload should look like:

{
  "query": "...",
  "operationName": "...",
  "variables": { "myVariable": "someValue", ... }
}

In the version of graphiql that is used the "variables" are warped in a string like this

"variables": "{ "myVariable": "someValue", ... }"

In the last version of graphiql this is fixed.

glucaci avatar Jun 28 '18 14:06 glucaci