hasura / hasura/graphql-engine
Better "Prettify" behavior for longer graphql code (more line breaks!)
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
### Is your proposal related to a problem?
When designing a query/mutation/subscription in the API Explorer, if you have a lot of fields or variables, the code gets unruly pretty fast. If I paste it into VSCode and let Prettier do it's thing, then it vastly improves the readability.
Can this be adjusted to work on par with Prettier or better yet just use Prettier?
I have example photos here...
Ugly (current behavior):

Pretty(er) (using VS Code and Prettier extension):

Contributor guide
Assessment
This issue has not been assessed yet.