-
Notifications
You must be signed in to change notification settings - Fork 735
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
Add query parameters to middleware pages #578
Comments
Its possible to pass it like props of the playground or in the query string. |
@HuVik I don't see it in the docs—is above the correct query string format? |
@HuVik I looked through the source and I don't think there's any way to set the query via props. Are you sure about this? GraphQL If no, I'd suggest this to be reopened. |
@jgillich Its possible to do that, you can check how yoga is doing it dotansimha/graphql-yoga@c9f10c4#diff-f41e9d04a45c83f3b6f6e630f10117feR339 |
Oh darn, it's part of tabs? Thank you, that works! And it even makes sense, lol. |
This issue pertains to the following package(s):
It would be nice to be able to link to a Playground like this:
http://api.foo.com/playground?query={me{name}}
to set the
query
(like you can in GraphiQL) and maybe other fields, like endpoint and headers.The text was updated successfully, but these errors were encountered: