LearnBoost/mongoose — pull request #2569 by bshamblen (2014-12-30 23:07:19+00:00)
Title: Added built in minlength and maxlength validators to the String schema type

Similar to the basic min/max validators for the Number schema type, I've added minlength and maxlength validators for the String schema type, along with tests and default validation messages.