Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array order #32

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Array order #32

wants to merge 4 commits into from

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