Graphql-playground: Export/Import of queries/mutations

Created on 26 Jul 2017  路  8Comments  路  Source: graphql/graphql-playground

Would be cool to have a format for exporting/importing queries and mutations. This way you could easily get started on an existing project, or work on the same project from different machines.

arepackagreact rf0-needs-spec rf1-draft

Most helpful comment

I think maybe the idea would be able to dump and restore the playground as a json file.

All 8 comments

Could you elaborate a bit based on an example?

I think maybe the idea would be able to dump and restore the playground as a json file.

Yes, that's what I had in mind! 馃檪

So i am guessing this was never added?

@MooreDevelopment @marktani I had to switch to a Linux VM from the Windows host and didn't want to recreate the dozens of tabs in the playground, so here's what I ended up doing (and you can do too):

Missing this feature too. It would act as the Postman collections, which are a very useful to share a getting started toolkit for an API.

This feature is needed, and the workaround @ReallyVirtual provided does not work due to https://github.com/graphql/graphql-playground/issues/797

Share queries and mutations between the team, just restore and use later. As "Postman" GraphQL playground also must have it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marktani picture marktani  路  13Comments

Deepaknathtiwari picture Deepaknathtiwari  路  11Comments

jazzzz picture jazzzz  路  38Comments

tpage99 picture tpage99  路  21Comments

michalkvasnicak picture michalkvasnicak  路  14Comments