Relative Content

Tag Archive for node.jsexpressexpress-validator

express-validator use custom validator in validation schema

I’m trying to use custom validator in my validation schema as an object that takes a function but it’s not working, it returns back with an error that says: this.validator is not a function but not the message i’ve put when throwing the error in the function

express-validator use custom validator in validation schema

I’m trying to use custom validator in my validation schema as an object that takes a function but it’s not working, it returns back with an error that says: this.validator is not a function but not the message i’ve put when throwing the error in the function

express-validator use custom validator in validation schema

I’m trying to use custom validator in my validation schema as an object that takes a function but it’s not working, it returns back with an error that says: this.validator is not a function but not the message i’ve put when throwing the error in the function

express-validator use custom validator in validation schema

I’m trying to use custom validator in my validation schema as an object that takes a function but it’s not working, it returns back with an error that says: this.validator is not a function but not the message i’ve put when throwing the error in the function