graphql / graphql-playground

🎮 GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)
MIT License
8.75k stars 731 forks source link

Prettify variables #958

Open simPod opened 5 years ago

simPod commented 5 years ago

It would be nice to have a Prettify button for variables.

Sometimes when copying output from somewhere it pastes like one line with 5km length.

Currently there's only prettify button that prettifies queries only.

sergehuber commented 5 years ago

Yes prettify for variables would be really great, because once you get used to it for queries you want it everywhere :)

simPod commented 5 years ago

I usually spend some time pressing enter after each key value pair when copy pasting json variable string from elsewhere. 🤔

This is classic: image

sergehuber commented 5 years ago

Yes exactly especially with the autocompletion that also doesn’t support prettifying

Basically having the same features as in operation editing would be fantastic

T +41 22 361 3424

9 route des Jeunes | 1227 Acacias | Switzerland jahia.com SKYPE | LINKEDIN | TWITTER | VCARD

JOIN OUR COMMUNITY to evaluate, get trained and to discover why Jahia is a leading User Experience Platform (UXP) for Digital Transformation.

Le 28 févr. 2019 à 14:54, Šimon Podlipský notifications@github.com a écrit :

I usually spend some time pressing enter after each key value pair when copy pasting json variable string from elsewhere. 🤔

This is classic:

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.