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

added way to have custom context for graphql #1181

Closed
wants to merge 1 commit into from

Conversation

ChristianMertes
Copy link

The Graphene docs recommend that a custom context can be passed to a query. Starlette uses this capability but seems to hide it from the user.
This PR adds a context parameter to the GraphQLApp class to allow users to inject their own context in addition (but not overwriting) Starlette's context.

@Kludex
Copy link
Sponsor Member

Kludex commented May 12, 2021

GraphQL is deprecated on Starlette. I guess this will be closed soon 😗

@JayH5
Copy link
Member

JayH5 commented May 12, 2021

Thanks for your PR. Unfortunately, we've decided to deprecate GraphQL built in to Starlette. Please see #619

@JayH5 JayH5 closed this May 12, 2021
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

4 participants