graphql / graphql-playground

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

[Feature Request] Initiate the playground form a workspace config file #1335

Open gabsn opened 3 years ago

gabsn commented 3 years ago

It would be awesome to be able to start the playground from a config file.

This would allow us to save the queries directly in the git repo and share them across the team of developers. Indeed, there are often 20% of the queries that we use 80% of the time. It would be nice to already write all those queries in a config file and then import them in the playground to easily test our API.

We could even imagine having some kind of folder-like architecture to organise the different queries depending on the domain they belong to.

Maybe this already exists but after a bit of research I didn't came across.

If you need someone for the implementation or some product insight I'd be happy to help.