From 9eb54565cb4fe310f4fea74d6f289efd2fdfa68b Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 15 Apr 2026 16:57:45 +0200 Subject: [PATCH] Make Info non-nullable in InsertResultCommand Changed the Info property from short? to short in InsertResultCommand, making it a required field and ensuring it cannot be null. This enforces that all InsertResultCommand instances must provide a value for Info. --- src/ReC.Application/Results/Commands/InsertResultCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReC.Application/Results/Commands/InsertResultCommand.cs b/src/ReC.Application/Results/Commands/InsertResultCommand.cs index 4a47e02..41631d7 100644 --- a/src/ReC.Application/Results/Commands/InsertResultCommand.cs +++ b/src/ReC.Application/Results/Commands/InsertResultCommand.cs @@ -11,7 +11,7 @@ public record InsertResultCommand : IInsertProcedure public required RecStatus Status { get; set; } public string? Header { get; set; } public string? Body { get; set; } - public short? Info { get; set; } + public short Info { get; set; } public string? InfoDetail { get; set; } public string? Error { get; set; } public required ResultType Type { get; set; }