Skip to content

Modify contains comparison to ignore missing keys recursively#6

Open
erussell wants to merge 3 commits into
ChannelIQ:masterfrom
erussell:master
Open

Modify contains comparison to ignore missing keys recursively#6
erussell wants to merge 3 commits into
ChannelIQ:masterfrom
erussell:master

Conversation

@erussell

@erussell erussell commented Jun 5, 2014

Copy link
Copy Markdown

I modified the contains function to ignore missing keys at all levels of the object tree, instead of just the top level. I added tests for all of the odd scenarios I could think of.

@fedorov

fedorov commented Oct 15, 2016

Copy link
Copy Markdown

I didn't realize this was not the default behavior - would be great to have this integrated!

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