-
Notifications
You must be signed in to change notification settings - Fork 730
Closed
Description
This issue pertains to the following package(s):
- GraphQL Playground - Electron App
- GraphQL Playground HTML
- GraphQL Playground
- GraphQL Playground Express Middleware
- GraphQL Playground Hapi Middleware
- GraphQL Playground Koa Middleware
- GraphQL Playground Lambda Middleware
What OS and OS version are you experiencing the issue(s) on?
Fedora 32, with:
- Firefox 76
- Chrome 83
What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?
Latest version from //cdn.jsdelivr.net/npm/graphql-playground-react/build/static/js/middleware.js so probably 1.7.23.
What is the expected behavior?
Clicking on "COPY CURL" should copy (I guess) the cURL for the GraphQL request.
What is the actual behavior?
Nothing happens. An error is printed on console:
TypeError: t.context.store is undefined
What steps may we take to reproduce the behavior?
- Download the minimal HTML page provided by Playground
- Run a simple server with this single page (e.g. using serve:
serve .ifminimal.htmlis downloaded in current directory) - Access to the web page (e.g. http://localhost:5000/minimal.html)
- Specify a GraphQL endpoint (e.g. https://countries.trevorblades.com/) and a query (e.g.
{continents{name}}). - Click on "COPY CURL"
- Check that the cURL command has not been copied, and the console contains the error shown above.
Note that I've seen the error with both Firefox and Chrome.
I've also reproduced the error with the "full loading animation".
mazedlx, spawnia, ravangen, skupyak and caass
Metadata
Metadata
Assignees
Labels
No labels
