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

Query variables not prettified when clicking prettify in GraphiQL console

Open sankara-sabapathy opened this issue 1 year ago • 2 comments

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?

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

sankara-sabapathy avatar Sep 04 '22 11:09 sankara-sabapathy

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? 🙂

manasag avatar Sep 06 '22 05:09 manasag

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

sankara-sabapathy avatar Sep 06 '22 08:09 sankara-sabapathy