Skip to content
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

Allow the ability to set GraphQL Playground settings #508

Merged
merged 2 commits into from
May 18, 2021
Merged

Allow the ability to set GraphQL Playground settings #508

merged 2 commits into from
May 18, 2021

Conversation

oscartbeaumont
Copy link
Contributor

In the GraphQL Playground UI, you can configure settings. This PR allows a default set of settings to be defined server-side similar to the default headers option that already exists in this package.

An example use case of this feature is setting the request.credentials setting to include or same-site instead of its default value omit. This allows cookies to be manipulated in the GraphQL request.

@sunli829
Copy link
Collaborator

Thank you so much! 🙂

@oscartbeaumont
Copy link
Contributor Author

I have linted the code as that was causing the workflow failures. Hopefully, we can get this merged!

@sunli829 sunli829 merged commit 86bd1dd into async-graphql:master May 18, 2021
@sunli829
Copy link
Collaborator

Thank you, I forgot to merge it. 🙂

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.

None yet

2 participants