Enforce CultCache wire interop

This commit is contained in:
Meta Vens 2026-05-16 10:35:38 +01:00
commit d7aa3349f3
3 changed files with 281 additions and 5 deletions

2
dist/cult-cache.js vendored
View file

@ -419,7 +419,7 @@ class CultCache {
}
#resolveDefinitionForEnvelope(entry) {
if (entry.schemaId) {
return this.#schemaIdDefinitions.get(entry.schemaId);
return this.#schemaIdDefinitions.get(entry.schemaId) ?? this.#definitions.get(entry.type);
}
return this.#definitions.get(entry.type);
}