String minlength and maxlength don't work
kalvinarts opened this issue · 1 comments
kalvinarts commented
The String type needs minlength
and maxlength
options to be in lowercase as specified in the mongoose docs:
SchemaStringOptions.prototype.maxlength
SchemaStringOptions.prototype.minlength
PR #20