Skip to content

Adds differentiation between nil and NO_VALUE #4

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

Merged
merged 1 commit into from
Jan 8, 2018
Merged

Adds differentiation between nil and NO_VALUE #4

merged 1 commit into from
Jan 8, 2018

Conversation

frank-west-iii
Copy link
Contributor

@frank-west-iii frank-west-iii commented Jan 4, 2018

When a given key does not exist on either side we were returning nil.
This makes it so we return HashDiff::NO_VALUE instead of nil if the key
is not found.

Fixes #2

When a given key does not exist on either side we were returning nil.
This makes it so we return HashDiff::NO_VALUE instead of nil if the key
is not found.
@frank-west-iii
Copy link
Contributor Author

@acuppy, this is one of our pinned repos and thought this should be fixed. 👍

It will probably need a revision bump as it will be a breaking change, maybe it can be made 1.0 😄

Copy link
Member

@acuppy acuppy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great.

@acuppy acuppy merged commit 0e43f6e into CodingZeal:master Jan 8, 2018
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.

2 participants