Enforce CultCache wire interop
This commit is contained in:
parent
434c0c006e
commit
d7aa3349f3
3 changed files with 281 additions and 5 deletions
|
|
@ -643,7 +643,7 @@ export class CultCache {
|
|||
|
||||
#resolveDefinitionForEnvelope(entry: CultCacheEnvelope): RegisteredDefinition | undefined {
|
||||
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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue