DScheglov/mongoose-schema-jsonschema

String minlength and maxlength don't work

kalvinarts opened this issue · 1 comments

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

Fixed in v1.3.1