Use interfaces for Polly retry policies in C##20821
Use interfaces for Polly retry policies in C##20821wing328 merged 1 commit intoOpenAPITools:masterfrom
Conversation
This enables use of ResiliencePipelineBuilder which returns the interface when calling AsSyncPolicy / AsAsyncPolicy
|
@jacobilsoe thanks for the PR is this change backward compatible? |
@wing328 Well, that depends on what you mean by backwards compatible. 😃
But if someone uses members of e.g. the However, the intention of the |
|
thanks for the details and pointing out edge cases in which this may break users applications using the C# SDKs. i would go ahead with this change and if someone needs a way to rollback, we will consider providing one. |
|
thank for the PR, which has been merged. have a good week ahead. |
This enables use of ResiliencePipelineBuilder which returns the interface when calling AsSyncPolicy / AsAsyncPolicy
This enables use of
Polly.ResiliencePipelineBuilderwhere the builtPolly.ResiliencePipelinereturns an interface when using propertiesAsSyncPolicyorAsAsyncPolicy.@mandrean @shibayan @Blackclaws @lucamazzanti @iBicha
PR checklist
Commit all changed files.
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*.IMPORTANT: Do NOT purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed.
master(upcoming7.x.0minor release - breaking changes with fallbacks),8.0.x(breaking changes without fallbacks)