Joi.Validator.Skipping (Joi v0.2.1) View Source

Link to this section Summary

Link to this section Functions

Link to this function

unless_field_not_nil(field, params)

View Source
Link to this macro

unless_skipping(type, field, params, options, list)

View Source (macro)

When [required: false] and params[field] == nil, skip validating.