Skip to content

Conversation

@arb
Copy link
Contributor

@arb arb commented Jun 25, 2015

This will allow you to ignore the prototype object for all deep object comparisons.

@arb arb added the feature New functionality or improvement label Jun 25, 2015
lib/index.js Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't want to pass all of exports.settings to Hoek. The defaults can be { prototype: exports.settings.prototype }.

@cjihrig
Copy link
Contributor

cjihrig commented Jun 25, 2015

Thanks for doing this!

@cjihrig cjihrig self-assigned this Jun 25, 2015
@cjihrig cjihrig added this to the 1.5.0 milestone Jun 25, 2015
cjihrig added a commit that referenced this pull request Jun 25, 2015
Added new global setting to ignore prototypes.
@cjihrig cjihrig merged commit a922649 into hapijs:master Jun 25, 2015
@arb arb deleted the prototype branch June 25, 2015 17:04
@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

feature New functionality or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants