Graphql-playground: Provide initial context (tabs, queries, headers, variables)

Created on 13 Jan 2018  路  6Comments  路  Source: graphql/graphql-playground

When using the graphql-playground-react component (or also via e.g. graphql-yoga) it's a common scenario that you'd want to preconfigure a query or provide other context information.

arepackagreact rf0-needs-spec statupr-welcome

Most helpful comment

Any update on this @timsuchanek ? Excited to see this support land if anyone is currently working on it.

All 6 comments

I think it's an important enough feature to be tracked on its own. Also, I couldn't find it via search.

I'd really like to see this happen. Perhaps this is easier to get through than all in #301 ?

What are your thoughts? I can submit a PR if anyone can point me in the right direction to implement this too if I can get some spare time.

The Playground component is already supporting this (we needed this for graphql bin).
We just need to add this option to the middlewares.

I'm right now doing some major changes in the repo. If I'm done with them, and didn't fix this already, I would like to notify you @notrab that you can get started and how :)

Any update on this @timsuchanek ? Excited to see this support land if anyone is currently working on it.

Its already done few versions back.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

acao picture acao  路  14Comments

iagobruno picture iagobruno  路  16Comments

schickling picture schickling  路  52Comments

tlvenn picture tlvenn  路  15Comments

tuurbo picture tuurbo  路  13Comments