Skip to content

Normalization should happen on update as well as on save. #119

@LiFaytheGoblin

Description

@LiFaytheGoblin

for that to happen one needs to pass { runValidators: true } when calling an update method.
However, validation can also be forced using hooks

https://delventhalz.github.io/javascript/mongoose-hooks/

Metadata

Metadata

Labels

modelrelease-1.0.0all features that have to be in for the first release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions