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

change default comparison behavior #73

Merged
merged 1 commit into from May 20, 2016

Conversation

@cjihrig
Copy link
Contributor

cjihrig commented May 19, 2016

This changes the default equality behavior in the following ways:

  • drop the deep flag. This is now the default behavior.
  • add shallow flag. This performs strict equality comparisons.
  • comparePrototypes now defaults to false.

Closes #68

- drop the `deep` flag. This is now the default behavior.
- add `shallow` flag. This performs strict equality comparisons.
- `comparePrototypes` now defaults to false.
@hueniverse hueniverse added this to the 2.3.1 milestone May 20, 2016
@hueniverse hueniverse merged commit 00f72e7 into hapijs:master May 20, 2016
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@cjihrig cjihrig mentioned this pull request Oct 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.