Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rest] add backcompat mixin to rest requests #20598

Closed
iscai-msft opened this issue Sep 8, 2021 · 0 comments · Fixed by #20599
Closed

[rest] add backcompat mixin to rest requests #20598

iscai-msft opened this issue Sep 8, 2021 · 0 comments · Fixed by #20599

Comments

@iscai-msft
Copy link
Contributor

Right now when using our azure.core.rest.HttpRequest, we have to convert these to and from azure.core.pipeline.transport.HttpRequests. Additionally, they can't be used in our pipelines / pollers / pagers etc immediately.

The plan is to give our new requests the same surface design as our old requests, so all policies / transports can handle them without converting them to the old design. To do this, we want to add deprecated properties and methods to our new requests to give it the same shape as the old design. Make sure these properties don't show up in documentation, and try your best to hide them as much as possible

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants