Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Validation pipe option not working #627

Open
reynoldputra opened this issue Jul 13, 2023 · 0 comments
Open

Custom Validation pipe option not working #627

reynoldputra opened this issue Jul 13, 2023 · 0 comments

Comments

@reynoldputra
Copy link

reynoldputra commented Jul 13, 2023

  @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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant