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

Json-serialization using a single serializer #40

Open
carl-berg opened this issue Apr 13, 2021 · 0 comments
Open

Json-serialization using a single serializer #40

carl-berg opened this issue Apr 13, 2021 · 0 comments

Comments

@carl-berg
Copy link
Member

carl-berg commented Apr 13, 2021

Currently CosmosDbCollection uses both DocumentClient and Container to access the database. These api's use different serialization options which means sometimes the configured Json.NET settings (date-handling etc) are used and sometimes they aren't. I assume both api's are currently used to support bulk operations. Hopefully that is no longer needed: https://docs.microsoft.com/sv-se/azure/cosmos-db/how-to-migrate-from-bulk-executor-library and we can use just the Container where serialization can be replaced when creating the CosmosDbClient.
Interestring links:

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

No branches or pull requests

1 participant