rocicorp / replicache

Realtime Sync for Any Backend Stack
https://doc.replicache.dev
1.05k stars 37 forks source link

fix: Allow reusing references in deepClone #644

Closed arv closed 3 years ago

arv commented 3 years ago

We used to incorrectly mark reused objects as cycles even though there was no cycle in the JSON value.

Fixes #643

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/rocicorp/replicache/9coWX4SZmoqnAmGQ52ZVkL5panr6
✅ Preview: https://replicache-git-fork-arv-cyclic-json-deep-clone-rocicorp.vercel.app