| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: c626376c-e2b8-45bb-9c1b-bd077b80eab0 📥 CommitsReviewing files that changed from the base of the PR and between 67c840f and 0e5af36. 📒 Files selected for processing (4)
📝 Walkthrough WalkthroughThe update proxy now limits drafting to supported container types and preserves non-plain class instances by reference. Tests verify that untouched Money instances retain identity and class type after nested updates. A patch Changeset documents the fix. ChangesCustom instance preservation
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: kyleamathews 🚥 Pre-merge checks | ✅ 5 ✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. ❤️ ShareComment @coderabbitai help to get the list of available commands. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
🎯 Changes
Fixes an issue where update() could silently convert untouched custom class instances into plain objects when another field in the same nested object was changed. Although the data retained the same shape, it lost its prototype, causing methods and instanceof checks to fail.
Custom class instances are now treated as opaque values and preserved by reference, matching Immer-style behavior for non-draftable objects. Added both low-level change-tracking coverage and a collection-level regression test.
Fixes #1714
✅ Checklist
🚀 Release Impact
Summary by CodeRabbit
Bug Fixes
Chores