pass options to joi #7

Merged
merged 1 commit into from Apr 3, 2014

Projects

None yet

2 participants

@samzilverberg
Contributor

thus being able to override some of joi default validate options.
notice though: the plugin and joi share the options object so they shouldn't use the same option names.

@samzilverberg samzilverberg pass options to joi
thus being able to override some of joi default validate options.
notice though: the plugin and joi share the options object so they shouldn't use the same option names.
74ec93a
@samzilverberg
Contributor

forgot a little issue - if options are passed in but strict options is not there it should be added as true.

@petreboy14 petreboy14 merged commit f86be90 into petreboy14:master Apr 3, 2014

1 check passed

default The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment