Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Require a request context in the request factory. #66

Merged
merged 1 commit into from
Jul 1, 2021

Conversation

a-feld
Copy link
Contributor

@a-feld a-feld commented Jul 1, 2021

Breaking Change 馃毃

This PR requires that request context be added when building a request. Using request context will allow requests to be cancelled properly when a context cancels.

My understanding is that it's generally considered best practice to use context when creating a request object.

nrcventura
nrcventura previously approved these changes Jul 1, 2021
@a-feld a-feld merged commit 8699fa2 into master Jul 1, 2021
@a-feld a-feld deleted the add-request-context branch July 1, 2021 20:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants