Home > Back-end >  NestJs validation pipe not working properly
NestJs validation pipe not working properly

Time:01-24

I have the following DTO class in my project:

import { IsNotEmpty, IsString } from "class-validator";

export class CreateDomainDTO {

  @IsString()
  codigo_website: string;

  @IsString()
  website_name: string

}

I have NestJs default validation pipe applied for my entire project:
enter image description here

  • Related