22.4.2 (2026-04-05)
Bug Fixes
- schema-generator: prevent default decorators from leaking into custom schema rules
(66e0a5ce)
loadRules() was using deepmerge without custom merge strategies, which caused two issues:
- decorators array format: default decorators were concatenated with user-defined ones instead of being replaced (e.g.
[@column(), @decimal()]instead of just[@decimal()]) - Deprecated decorator string format: the default decorators array took precedence over the user's decorator string,
silently ignoring it
Custom type and column rules now correctly replace the defaults.