Open vmakhaev opened 8 years ago
This jsondiffpatch library seems to handle that case correctly (example)
I haven't been able to look and see what the implementation difference is but maybe we can learn from it and update the arraydiff implementation. https://github.com/benjamine/jsondiffpatch/blob/master/docs/arrays.md
I suppose this happens because array has repeating elements. Here is test case: https://github.com/vmakhaev/arraydiff-testcase As you see, I remove one item and expect only one
RemoveDiff
, but get: