From 7a8367449bf3ff50b29d4afb5bbd0d532312e897 Mon Sep 17 00:00:00 2001 From: Kieron Lanning Date: Sun, 20 Sep 2026 09:57:42 +0100 Subject: [PATCH 1/3] docs: updated samples --- src/src/ZodSharp.AspNetCoreSample/ErrorTypes.cs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/src/ZodSharp.AspNetCoreSample/ErrorTypes.cs b/src/src/ZodSharp.AspNetCoreSample/ErrorTypes.cs index ca3dea9..2572fe0 100644 --- a/src/src/ZodSharp.AspNetCoreSample/ErrorTypes.cs +++ b/src/src/ZodSharp.AspNetCoreSample/ErrorTypes.cs @@ -1,4 +1,5 @@ using ZodSharp.AspNetCore; +using ZodSharp.Core; namespace Purview.ValueObjects.ZodSharp.AspNetCoreSample; @@ -17,9 +18,11 @@ static partial class ErrorTypes Code: "aggregate_save_failed", Description: "The order could not be saved because it was modified concurrently.", HttpStatus: StatusCodes.Status409Conflict, - MessageFormat: "Order '{OrderId}' (of type {AggregateType}) failed to save" - ) - { - Parameters = ["OrderId", "AggregateType"], - }; + MessageFormat: "Order '{OrderId}' (of type {AggregateType}) failed to save", + Parameters: new List + { + ErrorType.Param("OrderId"), + ErrorType.Param("AggregateType"), + } + ); } From d468825e4e9132f0cf526fb1fffc0c05d089b329 Mon Sep 17 00:00:00 2001 From: Kieron Lanning Date: Sun, 20 Sep 2026 10:04:34 +0100 Subject: [PATCH 2/3] docs: updated package versions --- Directory.Packages.props | 4 ++-- package.json | 2 +- src/src/ZodSharp.AspNetCoreSample/Program.cs | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 732a2da..ff12c38 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -5,9 +5,9 @@ true true 5.9.0 - 1.68.4 + 1.68.17 1.0.0-prerelease.44 - 2.0.0-prerelease.11 + 2.0.0-prerelease.12 diff --git a/package.json b/package.json index ff60325..a7a1778 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "purview-value-objects", - "version": "1.0.0-prerelease.2", + "version": "1.0.0-prerelease.3", "license": "MIT", "author": { "name": "Kieron Lanning", diff --git a/src/src/ZodSharp.AspNetCoreSample/Program.cs b/src/src/ZodSharp.AspNetCoreSample/Program.cs index edfd88c..aa4619c 100644 --- a/src/src/ZodSharp.AspNetCoreSample/Program.cs +++ b/src/src/ZodSharp.AspNetCoreSample/Program.cs @@ -1,6 +1,4 @@ using Purview.ValueObjects.Serialization; -using ZodSharp.AspNetCore; -using ZodSharp.Core; var builder = WebApplication.CreateBuilder(args); From 6fd9466a638bd8c05adae88c0426c8e76295ee58 Mon Sep 17 00:00:00 2001 From: Kieron Lanning Date: Sun, 20 Sep 2026 10:23:47 +0100 Subject: [PATCH 3/3] fix: namespaces were fixed --- purview-build.json | 2 +- src/src/Sample/Sample.csproj | 5 +---- src/src/ZodSharp.AspNetCoreSample/Program.cs | 2 ++ .../ZodSharp.AspNetCoreSample.csproj | 4 ++-- src/src/ZodSharpSample/ZodSharpSample.csproj | 4 ++-- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/purview-build.json b/purview-build.json index c2cec54..02aef67 100644 --- a/purview-build.json +++ b/purview-build.json @@ -23,4 +23,4 @@ "Release": { "Mode": "None" } -} \ No newline at end of file +} diff --git a/src/src/Sample/Sample.csproj b/src/src/Sample/Sample.csproj index 62a4ee3..86fc26f 100644 --- a/src/src/Sample/Sample.csproj +++ b/src/src/Sample/Sample.csproj @@ -1,4 +1,4 @@ - + Exe false @@ -6,9 +6,6 @@ - - - + false @@ -6,12 +6,12 @@ - + + Exe false - +