Skip to content

Fix support for more than 8 patch operations in one request for the new JSON Patch API

Yurii Kondakov requested to merge multiple_operations_bug_fix into master

Type of change

  • Bug Fix

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • Google Cloud
  • IBM

Does this introduce a breaking change?

  • [NO]

Currently, we have a limit of 10 operations on the maximum number of patch operations due to limitations on the part of Azure Cosmos DB. Partial document update in Azure Cosmos DB

For the API consumers, this number is less by 2, i.e. 8, as we add two more patch operations internally (at storage service).

It's possible to execute multiple patch operations on a single document. The maximum limit is 10 operations. Multi-document patch: Multiple documents within the same partition key can be patched as a part of a transaction

Merge request reports