From 8c47082c7f489a42932a0e32bc695e336ec25877 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 1 Dec 2025 15:22:49 +0100 Subject: [PATCH] Make EndpointId nullable and add EndpointUri property The `EndpointId` property in the `CreateRecActionCommand` class was updated from a non-nullable `long` to a nullable `long?` to allow it to hold `null` values. Additionally, a new nullable `string?` property `EndpointUri` was introduced to support specifying an optional endpoint URI. --- .../RecActions/Commands/CreateRecActionCommand.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ReC.Application/RecActions/Commands/CreateRecActionCommand.cs b/src/ReC.Application/RecActions/Commands/CreateRecActionCommand.cs index b14a11c..7cd8a86 100644 --- a/src/ReC.Application/RecActions/Commands/CreateRecActionCommand.cs +++ b/src/ReC.Application/RecActions/Commands/CreateRecActionCommand.cs @@ -6,7 +6,9 @@ public record CreateRecActionCommand public bool Active { get; init; } = true; - public long EndpointId { get; init; } + public long? EndpointId { get; init; } + + public string? EndpointUri { get; init; } public string Type { get; init; } = "GET";