ClientModel: Give PipelinePolicies a DefaultPosition #41392
Labels
Azure.Core
Client
This issue points to a problem in the data-plane of the library.
System.ClientModel
Base Core library
Milestone
Feature request
KrzysztofCwalina 5 weeks ago
I would like policies to have the following property:
public PipelinePosition DefaultPosition { get; }
In addition, all APIs that take a policy and the position (e.g. Add(PipelInePolisy, PipelinePosition) should default the second parameter. This would allow adding policies without having to specify the position (which users often don't know what it should be),
This is to support RestClient scenarios.
In addition, this change should address
Comments in PR thread: #41325 (comment)
The text was updated successfully, but these errors were encountered: