From dc924da6058e16ae4f0dd28285d4e4397f931ce1 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 27 Oct 2026 07:13:55 +0100 Subject: [PATCH] Caching: ClaimantFacts is a plain struct (the netstandard target has no IsExternalInit) The previous commit does not build. Co-Authored-By: Claude Sonnet 5.5 --- src/GameCult.Caching/CultCache.cs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/GameCult.Caching/CultCache.cs b/src/GameCult.Caching/CultCache.cs index 72e90169..bc6905a7 100644 --- a/src/GameCult.Caching/CultCache.cs +++ b/src/GameCult.Caching/CultCache.cs @@ -579,7 +579,19 @@ namespace GameCult.Caching ClaimantFacts Describe(T claimant); } - internal readonly record struct ClaimantFacts(string SchemaName, string SchemaVersion, string TypeLabel); + internal readonly struct ClaimantFacts + { + public ClaimantFacts(string schemaName, string schemaVersion, string typeLabel) + { + SchemaName = schemaName; + SchemaVersion = schemaVersion; + TypeLabel = typeLabel; + } + + public string SchemaName { get; } + public string SchemaVersion { get; } + public string TypeLabel { get; } + } // The lookup of a cacheless writer without a registry: the catalog entries the call writes. internal sealed class CatalogEntryLookup : IClaimantLookup