Question · NestJS course · Module 10: Data Validation
ValidatorConstraintInterface
What methods must a class marked with @ValidatorConstraint implement?
Answer options
- check() and getMessage()
- isValid() and errorText()
- run() and output()
- validate() and defaultMessage()
You can check the correct answer by solving this task in the CodeWorlds game.