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

Replacing GraphiQL #301

Open
2 of 6 tasks
DevanB opened this issue Dec 1, 2017 · 3 comments
Open
2 of 6 tasks

Replacing GraphiQL #301

DevanB opened this issue Dec 1, 2017 · 3 comments

Comments

@DevanB
Copy link
Contributor

DevanB commented Dec 1, 2017

This issue pertains to:

  • GraphQL Playground

After some light investigation, in order to replace GraphiQL with graphql-playground, a few options for pre-filling are necessary. Those are:

  • endpointURL: the relative/absolute URL where graphql-playground will make queries to
  • query: the GraphQL query to pre-fill
  • variables: a JS object of variables to pre-fill
  • operationName: the operationName to pre-fill
  • result: the result of the query to pre-fill
@kbrandwijk
Copy link
Contributor

kbrandwijk commented Dec 3, 2017

Also, default settings (theme etc.) should be added to the middleware options.

@jbaxleyiii
Copy link

I'd love to see the replication of the fetcher prop that can accept an observable!

@kbrandwijk
Copy link
Contributor

This is now also tracked in #487.

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

4 participants