Skip to content

Commit ee421df

Browse files
jcocchiggailey777
andauthored
Apply suggestions from code review
Co-authored-by: Glenn Gailey <[email protected]>
1 parent 762352b commit ee421df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Update your `.csproj` project file to use the latest extension version. The foll
5656

5757
## Update the extension bundle
5858

59-
By default, [extension bundles](./functions-bindings-register.md#extension-bundles) are used by Java, JavaScript, PowerShell, Python, C# script, and Custom Handler function apps to work with binding extensions. The Azure Cosmos DB version 4 extension is part of the Microsoft Azure Functions version 4 extension bundle.
59+
By default, [extension bundles](./functions-bindings-register.md#extension-bundles) are used by non-.NET function apps to install binding extensions. The Azure Cosmos DB version 4 extension is part of the Microsoft Azure Functions version 4 extension bundle.
6060

6161
To update your application to use the latest extension bundle, update your `host.json`. The following `host.json` file uses version 4 of the Microsoft Azure Functions extension bundle.
6262

@@ -120,7 +120,7 @@ The following table only includes attributes that changed or were removed from t
120120

121121
::: zone pivot="programming-language-csharp"
122122

123-
## Modify your Function code
123+
## Modify your function code
124124

125125
The Azure Functions extension version 4 is built on top of the Azure Cosmos DB .NET SDK version 3, which removed support for the [`Document` class](../cosmos-db/nosql/migrate-dotnet-v3.md#major-name-changes-from-v2-sdk-to-v3-sdk). Instead of receiving a list of `Document` objects with each function invocation, which you must then deserialize into your own object type, you can now directly receive a list of objects of your own type.
126126

@@ -171,7 +171,7 @@ namespace CosmosDBSamples
171171
::: zone-end
172172
::: zone pivot="programming-language-javascript,programming-language-python,programming-language-java,programming-language-powershell"
173173

174-
## Modify your Function code
174+
## Modify your function code
175175

176176
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.
177177

0 commit comments

Comments
 (0)