instantcommerce/next-api-decorators

Custom Validation pipe option not working

reynoldputra opened this issue · 0 comments

  @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