azure-sdk-for-js
azure-sdk-for-js copied to clipboard
Fixing missing pipeline integration for CosmosClient in patch api
Packages impacted by this PR
@azure/cosmos
Issues associated with this PR
https://github.com/Azure/azure-sdk-for-js/issues/20824
Describe the problem that is addressed by this PR
CosmosClient's patch api is failing for AADCredentials, (It was reported for Managed Identity Credentials). This was due to missing pipeline (responsible for actually fetching auth token) for patch api.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Yes
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
- [ ] Added a changelog (if necessary)