Enforce CultCache wire interop
This commit is contained in:
parent
434c0c006e
commit
d7aa3349f3
3 changed files with 281 additions and 5 deletions
2
dist/cult-cache.js
vendored
2
dist/cult-cache.js
vendored
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue