Skip to content

Fix option parsing to match hapi documentation#16

Merged
hueniverse merged 1 commit intohapijs:masterfrom
kanongil:file-options-fix
Dec 5, 2014
Merged

Fix option parsing to match hapi documentation#16
hueniverse merged 1 commit intohapijs:masterfrom
kanongil:file-options-fix

Conversation

@kanongil
Copy link
Copy Markdown
Contributor

@kanongil kanongil commented Dec 5, 2014

Allow function param in path, and convert lookupCompressed stringified booleans to actual booleans.

@kanongil kanongil added the bug Bug or defect label Dec 5, 2014
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would comment that no cloning needed because the config is all literals. But if at some point you add an unvalidated object to the schema, it will be shallow copied which will be a problem without a clone. So worth noting it.

hueniverse pushed a commit that referenced this pull request Dec 5, 2014
Fix option parsing to match hapi documentation
@hueniverse hueniverse merged commit 9ee41cc into hapijs:master Dec 5, 2014
@hueniverse hueniverse self-assigned this Dec 5, 2014
@hueniverse hueniverse added this to the 2.0.0 milestone Dec 5, 2014
@kanongil kanongil deleted the file-options-fix branch December 10, 2014 13:47
@lock
Copy link
Copy Markdown

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

bug Bug or defect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants