From fcdd71e3131e033a8cabff5eb9244da7c2093a82 Mon Sep 17 00:00:00 2001 From: Shyju Krishnankutty Date: Thu, 26 Jan 2023 15:42:24 -0800 Subject: [PATCH] Fixed incorrect type of CosmosDBTriggerAttribute's `StartFromTime` property(bool to string). --- extensions/Worker.Extensions.CosmosDB/release_notes.md | 2 +- .../Worker.Extensions.CosmosDB/src/CosmosDBTriggerAttribute.cs | 2 +- .../src/Worker.Extensions.CosmosDB.csproj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/Worker.Extensions.CosmosDB/release_notes.md b/extensions/Worker.Extensions.CosmosDB/release_notes.md index 040096423..9176a67d3 100644 --- a/extensions/Worker.Extensions.CosmosDB/release_notes.md +++ b/extensions/Worker.Extensions.CosmosDB/release_notes.md @@ -2,4 +2,4 @@ -- 4.0.0 release of Microsoft.Azure.Functions.Worker.Extensions.CosmosDB +- Fixed incorrect type of CosmosDBTriggerAttribute's `StartFromTime` property. diff --git a/extensions/Worker.Extensions.CosmosDB/src/CosmosDBTriggerAttribute.cs b/extensions/Worker.Extensions.CosmosDB/src/CosmosDBTriggerAttribute.cs index a9e586bbb..89e1f4f1f 100644 --- a/extensions/Worker.Extensions.CosmosDB/src/CosmosDBTriggerAttribute.cs +++ b/extensions/Worker.Extensions.CosmosDB/src/CosmosDBTriggerAttribute.cs @@ -124,7 +124,7 @@ public CosmosDBTriggerAttribute(string databaseName, string containerName) /// The recommended format is ISO 8601 with the UTC designator. /// For example: "2021-02-16T14:19:29Z" /// - public bool? StartFromTime { get; set; } + public string? StartFromTime { get; set; } /// /// Optional. diff --git a/extensions/Worker.Extensions.CosmosDB/src/Worker.Extensions.CosmosDB.csproj b/extensions/Worker.Extensions.CosmosDB/src/Worker.Extensions.CosmosDB.csproj index 84ef0033b..72e58bce2 100644 --- a/extensions/Worker.Extensions.CosmosDB/src/Worker.Extensions.CosmosDB.csproj +++ b/extensions/Worker.Extensions.CosmosDB/src/Worker.Extensions.CosmosDB.csproj @@ -6,7 +6,7 @@ Azure Cosmos DB extensions for .NET isolated functions - 4.0.0 + 4.0.1 false