Currently, default values are not validated so if the user changes the schema and forgets to update related default values accordingly, the resulting options returned by validate will contain invalid options. This PR fixes the issue and also allows addressing #49 more consistently by setting [] as a default value.
Currently, default values are not validated so if the user changes the schema and forgets to update related default values accordingly, the resulting options returned by
validate
will contain invalid options. This PR fixes the issue and also allows addressing #49 more consistently by setting[]
as a default value.