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?
macOS Mojave 10.14.2
What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?
Middleware. I'm using the "As HTML Page" method form the README to embed the playground inside an existing server.
What is the expected behavior?
When running a query, results should be displayed on the right pane
What is the actual behavior?
Results are displayed but they disappear after a second or so (making the playground unusable). Looking in the network logs, it looks like a schema introspection query is made every few seconds, which wasn't the case previously
What steps may we take to reproduce the behavior?
Follow the "As HTML Page" instructions from the readme, and try running any query.
As a workaround, I temporarily changed the middleware script URL to use version 1.7.11:
//cdn.jsdelivr.net/npm/graphql-playground-react@1.7.11/build/static/js/middleware.js
That fixed the issue for me.