hasura / graphql-engine

Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
https://hasura.io
Apache License 2.0
31.17k stars 2.76k forks source link

Query variables not prettified when clicking prettify in GraphiQL console #8922

Open sankara-sabapathy opened 2 years ago

sankara-sabapathy commented 2 years ago

Version Information

Server Version: CLI Version (for CLI related issue):

Environment

What is the current behaviour?

What is the expected behaviour?

How to reproduce the issue?

1. 2. 3.

Screenshots or Screencast

Please provide any traces or logs that could help here.

Any possible solutions?

Can you identify the location in the source code where the problem exists?

If the bug is confirmed, would you be willing to submit a PR?

Keywords

manasag commented 2 years ago

Hi @sankara-sabapathy, thank you for opening this issue. It's not yet clear to us what the actual error is and where it comes from. Could you please add some more details if available, e,g. Hasura version, screenshots, etc? 🙂

sankara-sabapathy commented 2 years ago

Please check the Hasura GraphiQL Console where we have query and variables section. We have prettify button on the UI to format the GraphQL query but no formatting support for query variables section.

Hasura version: all versions