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

Clarification on objectHash #302

Open
skelter opened this issue Mar 17, 2021 · 1 comment
Open

Clarification on objectHash #302

skelter opened this issue Mar 17, 2021 · 1 comment

Comments

@skelter
Copy link

skelter commented Mar 17, 2021

As I understand it, objectHash is to calculate something not for full equality, but for something identity-ish, such that the children can participate in a meaningful diff?

@DaTebe
Copy link

DaTebe commented Apr 10, 2021

I used this option to calculate full equality by ordering object keys lexicographical and calculating a hash over the stringified Object.

I'm not the author, but I guess the use case of checking "identity-ish" is more common?

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

No branches or pull requests

2 participants