When the mongoose-validator is executed by Mongoose (>= 4.9.0) for the first time, it appears this message on console:
"DeprecationWarning: Implicit async custom validators (custom validators that take 2 arguments) are deprecated in mongoose >= 4.9.0"
I followed the instruction in Mongoose doc and this solved.
When the mongoose-validator is executed by Mongoose (>= 4.9.0) for the first time, it appears this message on console: "DeprecationWarning: Implicit async custom validators (custom validators that take 2 arguments) are deprecated in mongoose >= 4.9.0"
I followed the instruction in Mongoose doc and this solved.