Skip to content

Commit da01e04

Browse files
Merge pull request #267958 from ealsur/users/ealsur/v4document
[Cosmos DB] Add note about dynamic scenario for migration
2 parents c2d6cba + bd02414 commit da01e04

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/azure-functions/migrate-cosmos-db-version-3-version-4.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article shows you how to upgrade your existing function apps u
44
ms.service: azure-functions
55
ms.custom: devx-track-extended-java, devx-track-js, devx-track-python
66
ms.topic: how-to
7-
ms.date: 10/05/2023
7+
ms.date: 03/04/2024
88
zone_pivot_groups: programming-languages-set-functions-lang-workers
99
---
1010

@@ -207,6 +207,9 @@ namespace CosmosDBSamples
207207
}
208208
```
209209

210+
> [!NOTE]
211+
> If your scenario relied on the dynamic nature of the `Document` type to identify different schemas and types of events, you can use a base abstract type with the common properties across your types or dynamic types like `JObject` that allow to access properties like `Document` did.
212+
210213
::: zone-end
211214
::: zone pivot="programming-language-javascript,programming-language-python,programming-language-java,programming-language-powershell"
212215

0 commit comments

Comments
 (0)