Posts by Jackson Werka • 1 point
2 posts
-
0
votes1
answer27
viewsA: Behavior of the Variable this in Validation with Mongoose + Nodejs
Reply published in: https://stackoverflow.com/questions/51528416/behavior-of-this-variable-in-validation-with-mongoose-nodejs/51528619#51528619 Arrow functions cannot be used to access this context.…
-
-1
votes1
answer27
viewsQ: Behavior of the Variable this in Validation with Mongoose + Nodejs
I’m trying to run a validation process for a field in the Mongoose schema. However, the behavior of the variable "this" is different than expected. Because according to the documentation in:…