I use Joi for validation.
I send a POST request with Postman and get this response "$__" is not allowed
.
Can't find any reference related to that.
I use Joi for validation.
I send a POST request with Postman and get this response "$__" is not allowed
.
Can't find any reference related to that.
Don't use Joi, mongoose has its own validator. Write your own validation on the Model declaration.