Skip to content

Expose request in context #892

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 2 commits into from
Nov 22, 2021
Merged

Expose request in context #892

merged 2 commits into from
Nov 22, 2021

Conversation

ruudk
Copy link
Contributor

@ruudk ruudk commented Oct 14, 2021

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Documented? no
Fixed tickets
License MIT

Since all GraphQL operations are (mostly) always bound to a request lifecycle it makes sense to expose the request in the context.
This saves implementors from querying the RequestStack to get the request.

ruudk and others added 2 commits October 14, 2021 13:42
Since all GraphQL operations are (mostly) always bound to a request lifecycle it makes sense to expose the request in the context.
This saves implementors from querying the RequestStack to get the request.
@mcg-web mcg-web merged commit a271b09 into overblog:0.14 Nov 22, 2021
@ruudk ruudk deleted the patch-3 branch November 22, 2021 13:52
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.

3 participants