Includes since last pre-release:
- If an SchemaType dosnt extend
SchemaTypeOptions
, the options are now defaulted to the outer-layer innerOptions
andouterOptions
can now be used for Maps too- Custom Validators now support
message
being an function - [IC]
mapOptions
now always errors if the given type dosnt extendmongoose.SchemaTypeOptions