Open androidkencai opened 8 years ago
I've also encountered this issue 4 months ago.
A simpler test case is this one :
left.json: [0, 1]
right.json: [1, 3]
delta: { "1": [ 3 ], "_t": "a", "_0": [ 0, 0, 0 ] }
The "1" totally disappear from the delta. If you try it on the demo page, you select the "Visual" with "Show unchanged values", the "1" doesn't show.
The workaround is to resort the right.json putting the old values in the same index as they were before.
Here is the test case
left.json
right.json
delta
In the delta, the path, "1" - "blocks" - "3" - ... doesn't exist in left.json or right.json. I think it's expected to be "1" - "blocks" - "2" - ...