From c4dfb0c727a6f50303deb51fcd7b84d80cf04340 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 e41031020941c3b7cfda7def65f05d57ba23dcc4 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 ca2471a9ea34bf2a2beb242c66f9ccce95f115e2 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 | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/CQRS/LeanCode.CQRS.Annotations/LeanCode.CQRS.Annotations.csproj b/src/CQRS/LeanCode.CQRS.Annotations/LeanCode.CQRS.Annotations.csproj index 832c8c0de..b8cf8bbc5 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 + + 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 fdbbec89f..7bb7230c0 100644 --- a/src/Infrastructure/LeanCode.ForceUpdate.Contracts/LeanCode.ForceUpdate.Contracts.csproj +++ b/src/Infrastructure/LeanCode.ForceUpdate.Contracts/LeanCode.ForceUpdate.Contracts.csproj @@ -1,7 +1,8 @@ annotations - net6.0 + + net6.0;net8.0;net9.0;net10.0