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

Default Value for Reach #66

Merged
merged 1 commit into from Jul 17, 2014
Merged

Default Value for Reach #66

merged 1 commit into from Jul 17, 2014

Conversation

@arb
Copy link
Contributor

arb commented Jul 16, 2014

I often see Hoek.reach() || null so I added the ability to supply a defaultValue into reach to use that instead of undefined.

I also updated the docs to reflect this change and to explain the other options reach accepts.

@cjihrig

This comment has been minimized.

Copy link
Contributor

cjihrig commented Jul 16, 2014

👍 for simplifying test coverage

@hueniverse hueniverse added this to the 2.2.1 milestone Jul 17, 2014
@hueniverse hueniverse self-assigned this Jul 17, 2014
hueniverse added a commit that referenced this pull request Jul 17, 2014
Default Value for Reach
@hueniverse hueniverse merged commit fb29950 into hapijs:master Jul 17, 2014
1 check passed
1 check passed
continuous-integration/travis-ci The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.