Coding task · NestJS course · Module 10: Data Validation

Custom Validator Implementation

Implement a custom validator that checks for Latin text.

Task

Implement the validate method in IsLatinTextConstraint to check the regex /^[a-zA-Z .]+$/