Closed markyfyi closed 4 days ago
Fixes https://github.com/instantdb/instant/issues/54. I added a util to the patch example to replicate the case outlined.
patch
Our logic in immutableDeepMerge was plain wrong, and we weren't deleted properties that were "nulled" out.
immutableDeepMerge
View Vercel preview at instant-www-js-core-fix-deep-merge-null-jsv.vercel.app.
Fixes https://github.com/instantdb/instant/issues/54. I added a util to the
patch
example to replicate the case outlined.Our logic in
immutableDeepMerge
was plain wrong, and we weren't deleted properties that were "nulled" out.