Skip to content

Custom Validation pipe option not working #627

@reynoldputra

Description

@reynoldputra
  @Post("/register")
  async createUser(@Body(ValidationPipe({
    validationError: {
      target : true
    }
  })) body: CreateUserDTO): Promise<ResponseDTO> {

Is there any way to custome the validation pipe and get validation error target

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions