Skip to content

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