You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -19,7 +19,7 @@ This article walks you through the process of migrating your function app to run
19
19
20
20
## Changes to item ID generation
21
21
22
-
Item ID is no longer auto populated in the Extension. Therefore, the Item ID must specifically include a generated ID for cases where you were using the Output Binding to create items.
22
+
Item ID is no longer auto populated in the Extension. Therefore, the Item ID must specifically include a generated ID for cases where you were using the Output Binding to create items. To maintain the same behavior as the previous version, you can assign a random GUID as ID property.
23
23
24
24
::: zone pivot="programming-language-csharp"
25
25
@@ -212,12 +212,14 @@ namespace CosmosDBSamples
212
212
> [!NOTE]
213
213
> 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.
214
214
215
+
Additionally, if you are using the Output Binding, please review the [change in item ID generation](#changes-to-item-id-generation) to verify if you need additional code changes.
216
+
215
217
::: zone-end
216
218
::: zone pivot="programming-language-javascript,programming-language-python,programming-language-java,programming-language-powershell"
217
219
218
220
## Modify your function code
219
221
220
-
After you update your `host.json` to use the correct extension bundle version and modify your `function.json` to use the correct attribute names, there are no further code changes required.
222
+
After you update your `host.json` to use the correct extension bundle version and modify your `function.json` to use the correct attribute names, there are no further code changes required for cases where you are using Input Bindings or Trigger. If you are using the Output Binding, please review the [change in item ID generation](#changes-to-item-id-generation) to verify if you need additional code changes.
0 commit comments