You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Its hard to read GQL requests with long inputs (certainly not uncommon with GraphQL), because the input is all on a single line. It would be great if inputs were formatted multi-line / with wrapping to make the request easier to read.
Suggestion: Prettier formats GraphQL very nicely, including inputs, if you wanted to leverage that. It also handles comments and indentation properly. Several other GraphQL tools I use are moving to using prettier for formatting, for exactly this reason. Example: Kong/insomnia#3242.
The text was updated successfully, but these errors were encountered:
Its hard to read GQL requests with long inputs (certainly not uncommon with GraphQL), because the input is all on a single line. It would be great if inputs were formatted multi-line / with wrapping to make the request easier to read.
Suggestion: Prettier formats GraphQL very nicely, including inputs, if you wanted to leverage that. It also handles comments and indentation properly. Several other GraphQL tools I use are moving to using prettier for formatting, for exactly this reason. Example: Kong/insomnia#3242.
The text was updated successfully, but these errors were encountered: