Closed asayers closed 5 years ago
There are two possible patches which will take you from [1,2] to []:
[1,2]
[]
[{"op":"remove","path":"/1"},{"op":"remove","path":"/0"}] [{"op":"remove","path":"/0"},{"op":"remove","path":"/0"}]
The diff() function gives the following (invalid) patch:
diff()
[{"op":"remove","path":"/0"},{"op":"remove","path":"/1"}]
🙀
Fixed in 0.2.4. Fix is a bit sketchy, but seems to work 😁
Thanks!
There are two possible patches which will take you from
[1,2]
to[]
:The
diff()
function gives the following (invalid) patch: