Azure / azure-functions-dotnet-worker-preview

MIT License
65 stars 19 forks source link

How can we drive the CosmosDB concurrency behavior? #30

Open hansmbakker opened 3 years ago

hansmbakker commented 3 years ago

Before, using DocumentClient, it was possible to work with ETags and only update a document if the ETag still matched.

This is important to prevent concurrency issues.

Now that only POCO-objects are supported, are we supposed to bypass bindings and use a DocumentClient from dependency injection?