Azure.Core 2.0: Address concerns about policy inheritance#42412
Azure.Core 2.0: Address concerns about policy inheritance#42412annelo-msft wants to merge 1 commit intoAzure:feature/azure.core-2.0from
Conversation
|
From @AlexanderSher:
Original comment: #42328 (comment) |
|
@AlexanderSher, in response to:
Is your concern only with the inheritance of Azure.Core's |
|
API change check APIView has identified API level changes in this PR and created following API reviews. |
All the types. I can create similar tests for My main premise here is that if we need to write hundreds (if not thousands) lines of code to support basic OO inheritance between types that in C# should just work, we are doing something wrong. |
I agree that we have issues with the inheritance of policies, but I had thought we had resolved remaining issues with polymorphism for these types. If you can provide tests that fail for other types in the integration, that would be very helpful in assessing the feasibility of this integration approach. The list of all Azure.Core types that inherit from System.ClientModel types can be found in the APIView linked from this PR. |
|
Hi @annelo-msft. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days. |
|
Hi @annelo-msft. Thank you for your contribution. Since there hasn't been recent engagement, we're going to close this out. Feel free to respond with a comment containing |
This draft PR adds tests from @AlexanderSher's Azure.Core 2.0 integration gist illustrating concerns about the inheritance of the Azure.Core
HttpPipelinePolicytype from System.ClientModelPipelinePolicy.@AlexanderSher explains the concerns in this PR comment: #42328 (comment)