Commit f46ea53
fix(databases): set attributesUpdated on non-indexed attribute update path
When an existing non-indexed attribute was already present in
existingAttributes (existingIdx >= 0) and got replaced by the splice,
attributesUpdated was never set to true. As a result the schemaVersion
bump and updatedAttributes() call at line 682 were skipped, leaving
downstream code with stale property resolvers when a plain field's
type/nullability changed via hot-reload.
The add path (existingIdx < 0) was already correct; this brings the
update path into parity.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent e14d516 commit f46ea53
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
| 632 | + | |
632 | 633 | | |
633 | 634 | | |
634 | 635 | | |
| |||
0 commit comments