Skip to content

Conversation

omgaz
Copy link
Owner

@omgaz omgaz commented Oct 18, 2020

An investigation into ignoring the order of arrays #29.

I think this can be done, just not in the approach laid out in this PR. I think, for now, some feedback would be good, but in the meantime, if you do not care about array orders, I'd suggest formatting your object prior to sending to diffler to make sure arrays are associative rather than ordered (see README.md example in this PR).

I think my next step would be to look at doing this associative mapping internally, but keeping an array index of values should a difference occur.

Can install this branch with npm i diffler@next


* Side notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant