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

CosmosClientBuilder: Fixes accountEndpoint not being set when using TokenCredential #2844

Merged
merged 5 commits into from
Oct 29, 2021
Merged

CosmosClientBuilder: Fixes accountEndpoint not being set when using TokenCredential #2844

merged 5 commits into from
Oct 29, 2021

Conversation

levimatheri
Copy link
Contributor

@levimatheri levimatheri commented Oct 29, 2021

Pull Request Template

Description

Bug fix: AccountEndpoint was not being set when using CosmosClientBuilder with TokenCredential. Introduced in 2753.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Closing issues

To automatically close an issue: closes #2843

@ealsur
Copy link
Member

ealsur commented Oct 29, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@ealsur ealsur changed the title Ensure accountEndpoint is set when using CosmosClientBuilder with TokenCredential CosmosClientBuilder: Fixes accountEndpoint not being set when using TokenCredential Oct 29, 2021
@ealsur
Copy link
Member

ealsur commented Oct 29, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@j82w
Copy link
Contributor

j82w commented Oct 29, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 2844 in repo Azure/azure-cosmos-dotnet-v3

@j82w
Copy link
Contributor

j82w commented Oct 29, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@ealsur ealsur merged commit 45c0afc into Azure:master Oct 29, 2021
@levimatheri
Copy link
Contributor Author

levimatheri commented Oct 29, 2021

Thanks @j82w @ealsur. When would this be released? Maybe a hotfix?

@levimatheri levimatheri deleted the fix/cosmos-client-builder branch October 29, 2021 21:46
@levimatheri
Copy link
Contributor Author

@j82w Any info on next release? Thanks

@j82w
Copy link
Contributor

j82w commented Nov 2, 2021

The next release is currently waiting on some change to the service to be completed. Which will likely be in 2 to 3 weeks.

Is there any reason you can't use the non-builder as a temporary workaround?

@levimatheri
Copy link
Contributor Author

levimatheri commented Nov 2, 2021

That's alright. We have some options we pass thru the builder, e.g. custom serializer that are easier with the builder, we'll evaluate whether we can do with the non-builder otherwise we'll just wait till the next release

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

Successfully merging this pull request may close these issues.

Account endpoint not set when using CosmosClientBuilder and TokenCredential
3 participants