Closed
Description
Can we have validateModifiedOnly as a configuration option for schemas? Passing the .save() function always custom options is not really efficient and could also be just done with one global setting.
Someone apparently also tried that too unintentionally, because passing it everytime seems also needless (#7492 (comment))
What is the current behavior?
We need to pass everytime when calling save() etc. a custom options object to enable validateModifiedOnly
What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
Mongoose 5.12.0
NodeJS v14.16.0