Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying variables object in query param results in 500 error #28

Open
gryphonmyers opened this issue Sep 27, 2019 · 0 comments
Open

Comments

@gryphonmyers
Copy link

Repro Steps:

  1. Send a GET request to /cockpit/api/graphql/query specifying valid gql "query" parameter per specification at: https://graphql.org/learn/serving-over-http/
  2. Note that the query is parsed correctly, and response is sent as expected.
  3. Send another GET request, this time adding the additional "variables" query parmeter in JSON-encoded format (e.g. "{}").
  4. Note that a 500 error response is sent.

Expected results:
Supplying variables should not cause the application to error when sending them in a query parameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant