From f047c1ec1a2288850b2090664d91a0fb6fa3af00 Mon Sep 17 00:00:00 2001 From: Krzysztof Bogacki Date: Thu, 10 Sep 2026 15:56:39 +0200 Subject: [PATCH 1/3] Decorate VersionSupport query with [AllowUnauthorized] --- .../LeanCode.ForceUpdate.Contracts/VersionSupport.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Infrastructure/LeanCode.ForceUpdate.Contracts/VersionSupport.cs b/src/Infrastructure/LeanCode.ForceUpdate.Contracts/VersionSupport.cs index 182b77e41..650837e67 100644 --- a/src/Infrastructure/LeanCode.ForceUpdate.Contracts/VersionSupport.cs +++ b/src/Infrastructure/LeanCode.ForceUpdate.Contracts/VersionSupport.cs @@ -1,7 +1,9 @@ using LeanCode.Contracts; +using LeanCode.Contracts.Security; namespace LeanCode.ForceUpdate.Contracts; +[AllowUnauthorized] public class VersionSupport : IQuery { public PlatformDTO Platform { get; set; } From c587213560bc6477c3d0baef9f3a6fd2493ff3fc Mon Sep 17 00:00:00 2001 From: Krzysztof Bogacki Date: Thu, 10 Sep 2026 15:58:15 +0200 Subject: [PATCH 2/3] Fix the exclusion in LeanCode.CodeAnalysis reference Only LeanCode.DomainModels.Generators should not reference it. --- src/Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 8a6d6a2db..1b273b06f 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -26,7 +26,7 @@ false Analyzer From f11a0b492648bc0bfbeaabceccd959d9b1cb3ed8 Mon Sep 17 00:00:00 2001 From: Krzysztof Bogacki Date: Thu, 10 Sep 2026 15:58:37 +0200 Subject: [PATCH 3/3] Multi-target contracts projects --- .../LeanCode.CQRS.Annotations/LeanCode.CQRS.Annotations.csproj | 3 ++- .../LeanCode.ForceUpdate.Contracts.csproj | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/CQRS/LeanCode.CQRS.Annotations/LeanCode.CQRS.Annotations.csproj b/src/CQRS/LeanCode.CQRS.Annotations/LeanCode.CQRS.Annotations.csproj index 832c8c0de..96871dbad 100644 --- a/src/CQRS/LeanCode.CQRS.Annotations/LeanCode.CQRS.Annotations.csproj +++ b/src/CQRS/LeanCode.CQRS.Annotations/LeanCode.CQRS.Annotations.csproj @@ -1,6 +1,7 @@  - net6.0 + + net8.0;net9.0;net10.0 diff --git a/src/Infrastructure/LeanCode.ForceUpdate.Contracts/LeanCode.ForceUpdate.Contracts.csproj b/src/Infrastructure/LeanCode.ForceUpdate.Contracts/LeanCode.ForceUpdate.Contracts.csproj index 9e7fee527..3023b2002 100644 --- a/src/Infrastructure/LeanCode.ForceUpdate.Contracts/LeanCode.ForceUpdate.Contracts.csproj +++ b/src/Infrastructure/LeanCode.ForceUpdate.Contracts/LeanCode.ForceUpdate.Contracts.csproj @@ -1,6 +1,8 @@ annotations + + net8.0;net9.0;net10.0