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

Do not cast all falsy values to null #122

Merged
merged 2 commits into from Sep 23, 2018

Conversation

@simplesmiler
Copy link
Contributor

simplesmiler commented Sep 9, 2018

Fix #121.

I kept undefined casted to null to keep this change non-breaking. It seems to be common to return request.yar.get('stored'), and hapi will complain if controller returns undefined.

simplesmiler added 2 commits Sep 9, 2018
@hueniverse hueniverse self-assigned this Sep 23, 2018
@hueniverse hueniverse added the bug label Sep 23, 2018
@hueniverse hueniverse merged commit 56068d6 into hapijs:master Sep 23, 2018
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@hueniverse hueniverse added this to the 9.0.2 milestone Sep 23, 2018
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.