Skip to content

Add keysuffix and compat mode to cosmosdbpartitionedstorage #487

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

Merged
merged 3 commits into from
Dec 10, 2019

Conversation

EricDahlvang
Copy link
Member

@EricDahlvang EricDahlvang commented Dec 10, 2019

Fixes: microsoft/botbuilder-dotnet#2766

and

microsoft/botbuilder-dotnet#2765

NOTE: CosmosDbPartitionedConfig defaults compatibility_mode to false, since this library has NOT been released yet. (dotnet and javascript are defaulted to true, since they have already been released)

Still need to add some tests.

Also, the pattern is odd where we let self.client.CreateDatabase error then try self.client.ReadDatabase ... this seems like it should be switched.

@axelsrz axelsrz merged commit a45f7cd into master Dec 10, 2019
@axelsrz axelsrz deleted the eric/cosmosDbPartitionedStorageUpdates branch December 10, 2019 17:01
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.

CosmosDbPartitionedStorage should support a custom user provided suffix for id
2 participants