Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

validate nested dto nestjs

import { ValidateNested } from 'class-validator';

export class Post {
  @ValidateNested()
  user: User;
}
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #validate #nested #dto #nestjs
ADD COMMENT
Topic
Name
6+2 =