benjamine / jsondiffpatch

Diff & patch JavaScript objects
MIT License
4.77k stars 464 forks source link

Tracking changes in arrays based on object hashes instead of indexes #353

Open akharkhonov opened 8 months ago

akharkhonov commented 8 months ago

Hi all, more of a question than a problem: what do you think about making this functionality https://github.com/schnerd/jsondiffpatch-arrays-by-hash part of this library ? Because the problem described there can be quite common when it comes to partial patching, so it might help a lot when this functionality is available out of the box( but possibly disabled by default) rather than installing a separate package to bypass the use of indexes for array diffs