changeset icon indicating copy to clipboard operation
changeset copied to clipboard

sort "del" changes to array in reverse order

Open brollb opened this issue 5 years ago • 0 comments

It would be great if deletion operations for arrays were presented in reverse order to ensure that they are deleted from the end rather than from the start. For regular JSON, the current approach is fine but the current approach is problematic when using this to edit a more complex object which does not provide the same low-level access since it might automatically shift the indices down for us.

A concrete example where this is problematic can be found here.

brollb avatar Aug 21 '20 13:08 brollb