Graphql-playground: Ability to clear result area of previous query execution.

Created on 8 Jun 2018  路  3Comments  路  Source: graphql/graphql-playground

At the company the I work for we use the playground through graphql-yoga to do our demo's when delivering to show our PM and PO our progress. On multiple occasions we have wanted to present using a fresh playground with only the queries prepared to be executed but sadly the caching system keeps everything in record and we show previous outcomes when running. We found two work arounds to this; first, simply copy pasting queries into a new playground tab, second, having the query fail and switch out and back to the tab and fix it (including killing the server and running the to fail). We believe that having the ability to clear a response on demand would be beneficial for development cycle as it provides targeted and intentional functionality through the website.

kindiscussion

Most helpful comment

This would be especially useful when playing around with subscriptions, since they tend to fill up the response area very quickly...

All 3 comments

This would be especially useful when playing around with subscriptions, since they tend to fill up the response area very quickly...

With that being said, it would probably also be useful if the chronological order of separate results can be reversed! (Loving this project by the way!)

It's clean the subscriptions results if I go back in my navigator and return on playground after this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Deepaknathtiwari picture Deepaknathtiwari  路  11Comments

schickling picture schickling  路  52Comments

grahamb picture grahamb  路  20Comments

gajus picture gajus  路  19Comments

nicolas-besnard picture nicolas-besnard  路  22Comments