Rather than raising an exception when validatorFor(type) returns undefined for an attribute's type as defined in the schema, a type validation issue is returned. This should be a gentler and more informative way to communicate that the type does not have a validator defined.
Rather than raising an exception when
validatorFor(type)
returnsundefined
for an attribute'stype
as defined in the schema, atype
validation issue is returned. This should be a gentler and more informative way to communicate that thetype
does not have a validator defined.