1.3.11 • Published 2 years ago
m2e-validator v1.3.11
// coming soon
Name | Options | Notes |
---|---|---|
String | minLength, maxLength, enum | Auto escapes and trims |
Number | min, max | |
ObjectId | ||
SchemaArray | ||
Date | Auto converts to ISO string | |
Boolean | Auto converts any non-falsy value to true | |
URL | -- | Auto normalizes |
-- | Auto normalizes | |
Phone | -- |