Skip to content

use createGraphiQLFetcher to fix missing headers #211

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

Merged
merged 1 commit into from
Aug 26, 2022

Conversation

thomasheyenbrock
Copy link
Contributor

This PR changes the index.html so that it creates the fetcher function using GraphiQL.createFetcher. This should fix the issue that headers entered in the headers editor are not sent with the GraphQL request, (see graphql/graphiql#2707).

Also prettified the file (sorry for the messy diff 🙈 )

@acao acao merged commit 6bb1fb8 into graphql:master Aug 26, 2022
@thomasheyenbrock thomasheyenbrock deleted the fix/use-graphiql-fetcher branch August 26, 2022 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants