Conversation
+ Establish PolicyBase for functionality common to Policy and Policy<TResult> + Esablish separate partial class files for the internals of Policy operation, from the public Execute (etc) overloads
Rationalise the execute API by flagging overloads for removal, with ObsoleteAttribute. These overloads have not been part of execution interfaces, since Polly v5.2.0.
Flag the deprecation of Context.ExecutionGuid. Rename as Context.CorrelationId.
Rename Context.ExecutionKey as OperationKey
Remove undocumented API for custom policies. Polly v6.0 intends to provide a more encapsulated way of doing this.
+ #424 (fixes #419) Allow `Timeout.InfiniteTimeSpan` for TimeoutPolicy + #425 Rationalise Execute()/ExecuteAsync() overloads: pre-advise ([per SemVer](https://semver.org/#how-should-i-handle-deprecating-functionality)) expected breaking changes for v6.0 + #426 Better name ExecutionKey and ExecutionGuid: pre-advise ([per SemVer](https://semver.org/#how-should-i-handle-deprecating-functionality)) expected breaking changes for v6.0 + Add `Context()` public noargs ctor + Minor corrections to method visibility
Add .AsPolicy<TResult> and .AsAsyncPolicy<TResult> methods for converting non-generic policies to generic policies.
Member
|
Another fine release :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Timeout.InfiniteTimeSpan(no timeout) forTimeoutPolicy..AsPolicy<TResult>()and.AsAsyncPolicy<TResult>()methods for converting non-generic policies to generic policies.