Open
Description
Related to #1085
I believe the issue is this https://github.com/prisma-labs/graphql-playground/blob/d8d655e8ded50034f5f8a83f05069769fc652463/packages/graphql-playground-react/src/components/Playground.tsx#L163-L170
Our production server has introspection disabled, with playground pointing to our production server it will send many introspection queries even with polling disabled, which results in spikes in errors.
This could be fixed in many ways:
- Option to disable introspection queries from playground
- Only retry on network errors
- Option to disable retry/ set max retries
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?
Not OS related
What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?
playground 1.7.20
What is the expected behavior?
It should not spam bad requests
What is the actual behavior?
Playground will retry 10+ times to fetch schema
What steps may we take to reproduce the behavior?
Run playground against server which does not support introspection
Please provide a gif or image of the issue for a quicker response/fix.
Metadata
Metadata
Assignees
Labels
No labels