Skip to content

[core-http-compat] Policy factory compat#22798

Merged
xirzec merged 3 commits intoAzure:mainfrom
xirzec:policyFactoryCompat
Aug 16, 2022
Merged

[core-http-compat] Policy factory compat#22798
xirzec merged 3 commits intoAzure:mainfrom
xirzec:policyFactoryCompat

Conversation

@xirzec
Copy link
Member

@xirzec xirzec commented Aug 3, 2022

New compat behavior requested by storage team:

  • A corev2 policy that can wrap core-http style policies and insert them into the pipeline.

This will allow Storage to keep using their PipelineLike interface without breaking changes by allowing old-style http policies to participate in corev2 pipelines.

@xirzec xirzec added Client This issue points to a problem in the data-plane of the library. Azure.Core labels Aug 3, 2022
@xirzec xirzec requested review from EmmaZhu and sarangan12 August 3, 2022 22:26
@xirzec xirzec self-assigned this Aug 3, 2022
@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-core-http-compat

Copy link
Member

@joheredi joheredi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I like the Proxy approach :)

@xirzec xirzec merged commit 1c15132 into Azure:main Aug 16, 2022
@xirzec xirzec deleted the policyFactoryCompat branch August 16, 2022 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Azure.Core Client This issue points to a problem in the data-plane of the library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants