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

Add missing hash call in diff calculation #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hollandjake
Copy link

Currently jiff.diff(), despite taking the hash function as an argument, does not call it.

Fixing this enables the user to supply a custom hash function enabling unified behaviour across all jiff functions.

Tests updated reflect this with a basic example (only compare the type of the field rather than its value). If you wish for another example let me know, happy to create

@hollandjake hollandjake changed the title Add missing state call in diff calculation Add missing hash call in diff calculation Aug 11, 2024
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.

1 participant