From af6f94c1ed28c792eeac58ff8e0c28cdca220f8a Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 12 Jan 2026 15:48:03 +0100 Subject: [PATCH] Improve handling of stored procedure return value type Check if return value is already a long before parsing its string representation. This enhances robustness and efficiency when the value is of the correct type. --- .../Common/Procedures/InsertObjectProcedure.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ReC.Application/Common/Procedures/InsertObjectProcedure.cs b/src/ReC.Application/Common/Procedures/InsertObjectProcedure.cs index 40f8654..9d25064 100644 --- a/src/ReC.Application/Common/Procedures/InsertObjectProcedure.cs +++ b/src/ReC.Application/Common/Procedures/InsertObjectProcedure.cs @@ -156,7 +156,9 @@ public class InsertObjectProcedureHandler(IRepository repo) : IRequestHandler