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

Make ConnectionMode for CosmosDB editable by consumer #16992

Merged
merged 2 commits into from Aug 7, 2019

Conversation

chiasottis
Copy link
Contributor

  • Expose CosmosDB connection mode to the library consumer as a CosmosOptions propriety.

Fixes #16842

- Expose CosmosDB connection mode to the library consumer as a CosmosOptions propriety.

Fixes dotnet#16842
@dnfclas
Copy link

dnfclas commented Aug 6, 2019

CLA assistant check
All CLA requirements met.

Copy link
Member

@AndriySvyryd AndriySvyryd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also need to modify CosmosDbOptionExtension.ExtensionInfo.GetServiceProviderHashCode()

- Change CosmosDbOptionExtension.ExtensionInfo.GetServiceProviderHashCode() to include new ConnectionMode option;
- Fix typo in comment.
@chiasottis
Copy link
Contributor Author

@AndriySvyryd, I added the connection mode to the CosmosDbOptionExtension.ExtensionInfo.GetServiceProviderHashCode() method.

@AndriySvyryd AndriySvyryd merged commit 3c37a2b into dotnet:release/3.0 Aug 7, 2019
@AndriySvyryd
Copy link
Member

Thanks for your contribution!

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.

3.0 Preview 7: ConnectionMode to Cosmos DB is hard-coded to Direct
3 participants