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

In CreateXXXRequest method implementation, RequestContext should be used for HttpMessage creation #46902

Closed
live1206 opened this issue Oct 30, 2024 · 0 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. CodeGen Issues that relate to code generation

Comments

@live1206
Copy link
Member

live1206 commented Oct 30, 2024

In CreateXXXRequest method implementation, RequestContext should be used for HttpMessage creation

@live1206 live1206 added the CodeGen Issues that relate to code generation label Oct 30, 2024
@live1206 live1206 self-assigned this Oct 30, 2024
@jsquire jsquire added the Client This issue points to a problem in the data-plane of the library. label Oct 30, 2024
github-merge-queue bot pushed a commit to microsoft/typespec that referenced this issue Oct 31, 2024
- Remove unused `ClientPipelineApi.CreateMessage`
- Add `HttpRequestOptionsApi` to `ClientPipelineApi.Send(Async)`
- Replace `HttpMessageApi.ResponseClassifier` with
`HttpMessageApi.ApplyResponseClassifier`
- Make abstraction more generic

This fix is needed for below issues of Azure plugin:
Azure/azure-sdk-for-net#46899
Azure/azure-sdk-for-net#46900
Azure/azure-sdk-for-net#46901
Azure/azure-sdk-for-net#46902
swatkatz pushed a commit to swatkatz/typespec that referenced this issue Nov 5, 2024
- Remove unused `ClientPipelineApi.CreateMessage`
- Add `HttpRequestOptionsApi` to `ClientPipelineApi.Send(Async)`
- Replace `HttpMessageApi.ResponseClassifier` with
`HttpMessageApi.ApplyResponseClassifier`
- Make abstraction more generic

This fix is needed for below issues of Azure plugin:
Azure/azure-sdk-for-net#46899
Azure/azure-sdk-for-net#46900
Azure/azure-sdk-for-net#46901
Azure/azure-sdk-for-net#46902
@live1206 live1206 closed this as completed Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. CodeGen Issues that relate to code generation
Projects
None yet
Development

No branches or pull requests

2 participants