-
Notifications
You must be signed in to change notification settings - Fork 584
Open
graphql/graphiql
#2886Description
Issue workflow progress
Progress of the issue based on the Contributor Workflow
- 1. The issue provides a minimal reproduction available on CodeSandbox using the issue template.
- Please install the latest
@graphql-yoga/*packages that you are using. - Please makee sure the reproduction is as small as possible.
- _Please make sure the relevant code parts that cause the issue are annotated with comments
- Please install the latest
- 2. A failing test has been provided
- 3. A local solution has been provided
- 4. A pull request is pending review
Describe the bug
When your setup the headers option in graphIQL like
renderGraphiQL({
endpoint: this.config.graphQLPath,
subscriptionEndpoint: this.config.subscriptionsPath,
headers: JSON.stringify({
'X-Parse-Application-Id': this.parseServer.config.appId,
'X-Parse-Master-Key': this.parseServer.config.masterKey,
}),
})To Reproduce
Steps to reproduce the behavior:
setup the headers options, run GIQL, open a new GIQL tab. The headers is not recycled.
Expected behavior
To recycle the headers
Environment:
- OS:
- NodeJS:
@graphql-yoga/*version(s):
Additional context
elitan and acaosaihaj