- Add
requiredEnum
,optionalEnum
,requiredEnumArray
, andoptionalEnumArray
- Add
ignoreInvalidEnum
deconstruct option
Breaking changes:
- Rename
allowSubPaths
toignoreSubPaths
- For optional arrays
undefined
is returned instead of an empty array if there are no values - For required arrays an error is throw if there are no values