Skip to content

Order independent array diff #82

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

Closed
wants to merge 2 commits into from

Conversation

jsfuchs
Copy link
Contributor

@jsfuchs jsfuchs commented Nov 21, 2016

No description provided.

@jsfuchs
Copy link
Contributor Author

jsfuchs commented Nov 21, 2016

Whoops - didn't mean to open it against your repo (wanted to put it into my forked master :D)

@jsfuchs jsfuchs closed this Nov 21, 2016
@NewOldMax
Copy link

NewOldMax commented Apr 29, 2017

It's very useful feature. Can this be in main package?
@flitbit

@jsfuchs
Copy link
Contributor Author

jsfuchs commented Apr 29, 2017

Sure!

@jsfuchs jsfuchs reopened this Apr 29, 2017
@jsfuchs
Copy link
Contributor Author

jsfuchs commented Apr 29, 2017

Ah ok I'll work on the conflicts on Monday.

@NewOldMax
Copy link

@jsfuchs
this can solve #100 , right?

@jsfuchs
Copy link
Contributor Author

jsfuchs commented Apr 30, 2017

So yes and no -

It will be able to determine if there is a difference between two unordered objects/arrays, but the output of the diff is particularly smart or useful since the sorting doesn't always align "like" terms. There would probably have to be a fair amount of work to make the output a sensible diff.

@flitbit
Copy link
Collaborator

flitbit commented May 1, 2017

I'm checking it out; if it does what it says, I agree.

@jsfuchs
Copy link
Contributor Author

jsfuchs commented May 1, 2017

Wrong branch - I'll reopen

@jsfuchs jsfuchs closed this May 1, 2017
@nadezhda
Copy link

Would be very useful to have this feature, exactly facing the case #100 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants