From ccbd26ad62d7d661f42bab08d082d8ff8f69b9c6 Mon Sep 17 00:00:00 2001 From: Charles d'Avernas Date: Fri, 10 Jan 2025 14:13:02 +0100 Subject: [PATCH] fix(Sdk): Fixed the AsyncApiSubscriptionLifetimeDefinition Signed-off-by: Charles d'Avernas --- .../Models/AsyncApiSubscriptionLifetimeDefinition.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ServerlessWorkflow.Sdk/Models/AsyncApiSubscriptionLifetimeDefinition.cs b/src/ServerlessWorkflow.Sdk/Models/AsyncApiSubscriptionLifetimeDefinition.cs index fbc1966..62422db 100644 --- a/src/ServerlessWorkflow.Sdk/Models/AsyncApiSubscriptionLifetimeDefinition.cs +++ b/src/ServerlessWorkflow.Sdk/Models/AsyncApiSubscriptionLifetimeDefinition.cs @@ -38,13 +38,13 @@ public record AsyncApiSubscriptionLifetimeDefinition /// Required if and have not been set. /// /// [DataMember(Name = "while", Order = 3), JsonPropertyName("while"), JsonPropertyOrder(3), YamlMember(Alias = "while", Order = 3)] - public virtual int? While { get; set; } + public virtual string? While { get; set; } /// /// Gets/sets a runtime expression, if any, used to determine until when to consume messages.. /// Required if and have not been set. /// /// [DataMember(Name = "until", Order = 4), JsonPropertyName("until"), JsonPropertyOrder(4), YamlMember(Alias = "until", Order = 4)] - public virtual int? Until { get; set; } + public virtual string? Until { get; set; } } \ No newline at end of file