This example shows how to create a custom validation decorator in NestJS using class-validator. First, you define a class with a validate method that checks if a number is even. Then, you decorate this class with @ValidatorConstraint. Next, you create a decorator function that registers this validator with registerDecorator. When you apply this decorator to a DTO property, NestJS will run your custom validation logic during request validation. The execution table traces validation for different input values, showing which pass or fail. Key moments clarify common confusions like handling decimals or negative numbers. The visual quiz tests understanding of validation results at specific steps. This approach helps you add your own rules beyond built-in validators in NestJS.