Skip to content

throw when invalid options are provided #511

@stephen-bartell

Description

@stephen-bartell

just a thought. if i enter abortearly instead of abortEarly in options, joi should throw that 'abortearly' is an invalid option.

this behavior has saved me time in hapi/hapijs, lack of this behavior - plus my fat fingers and impatient eyes - have cost me time in joi.

Metadata

Metadata

Assignees

Labels

bugBug or defect

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions