Skip to content

[v2] [10/X] Remove RequestContext #680

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

Open
wants to merge 1 commit into
base: v2-Interceptor-Improvements
Choose a base branch
from

Conversation

AnthonyMDev
Copy link
Contributor

The RequestContext is no longer needed due to the introduction of @TaskLocal values in Swift. For the beta, we will be deprecating the RequestContext, but it will be fully removed in the final release.

RequestContextTimeoutConfigurable will be replaced with a new property on GraphQLRequest that will be coming in a future PR.

@AnthonyMDev
Copy link
Contributor Author

@danieltiger Would love to get your feedback on this. I know you created the PR to introduce RequestContext to solve for some of your own use cases previously. Do you feel that the removal of this feature now would be a blocker for you?

I'm pretty confident that anyone using RequestContext would be able to achieve the same thing using @TaskLocal values, but I want to verify that you agree with that assessment.

@AnthonyMDev AnthonyMDev changed the title [v2] Remove RequestContext [v2] [10/X] Remove RequestContext Jun 27, 2025
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.

1 participant