From 4b477c99f845de9af776b9f6e4bd466b22c2a925 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 31 Mar 2026 19:37:05 -0300 Subject: cacheable-object: don't validate default update value w/o validator --- src/data/cacheable-object.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/data/cacheable-object.js b/src/data/cacheable-object.js index 0071c60d..f63fe4bd 100644 --- a/src/data/cacheable-object.js +++ b/src/data/cacheable-object.js @@ -50,7 +50,10 @@ export default class CacheableObject { if (!flags.update) continue; if (typeof update === 'object' && update !== null && 'default' in update) { - validatePropertyValue(property, null, update.default, update); + if (update.validate) { + validatePropertyValue(property, null, update.default, update); + } + this.prototype[CacheableObject.updateValue][property] = update.default; } else { this.prototype[CacheableObject.updateValue][property] = null; -- cgit 1.3.0-6-gf8a5