Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide initial context (tabs, queries, headers, variables) #487

Closed
schickling opened this issue Jan 13, 2018 · 6 comments
Closed

Provide initial context (tabs, queries, headers, variables) #487

schickling opened this issue Jan 13, 2018 · 6 comments

Comments

@schickling
Copy link
Collaborator

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.

@kbrandwijk
Copy link
Contributor

Already tracked here: #301

@schickling
Copy link
Collaborator Author

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

@notrab
Copy link

notrab commented Jan 18, 2018

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.

@timsuchanek
Copy link
Member

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 :)

@kbrandwijk kbrandwijk mentioned this issue Jan 23, 2018
6 tasks
@notrab
Copy link

notrab commented Feb 22, 2018

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

@huv1k
Copy link
Collaborator

huv1k commented Oct 28, 2018

Its already done few versions back.

@huv1k huv1k closed this as completed Oct 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants