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

Polly context setter and getter use obsolete property from HttpRequestMessage #59833

Open
faresamr opened this issue Jan 11, 2025 · 0 comments
Open
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Comments

@faresamr
Copy link
Contributor

The extension methods to set and get Polly context of HttpRequestMessage for execution retry policy, both methods GetPolicyExecutionContext and SetPolicyExecutionContext are storing the context in HttpRequestMessage.Properties which is obsolete.

This should be changed to use Options instead.

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

No branches or pull requests

1 participant