Insomnia: [Feature Request] Formatting/beautify GraphQL queries

Created on 6 Dec 2017  路  4Comments  路  Source: Kong/insomnia

Details

Having a button to format GraphQL would be great.
In my current workflow I sometimes Copy as cURL a call to GraphQL from somewhere and import it into Insomnia. Then I switch the body type to GraphQL Query, which works great.
Having a way to easily format it from there would be nice.

Since GraphiQL has the functionality, the formatting logic should be available already.

Most helpful comment

I believe you're looking for this?

image

All 4 comments

馃憢 Thanks for opening your first issue! If you're reporting a 馃悶 bug, please make sure
you include steps to reproduce it. If you're requesting a feature 馃巵, please provide real
use cases that would benefit. 馃應

To help make this a smooth process, please be sure you have first read the
contributing guidelines.

I believe you're looking for this?

image

Oops, I overlooked that, great!

:smile:

Was this page helpful?
0 / 5 - 0 ratings