Custom Validation pipe option not working
reynoldputra opened this issue · 0 comments
reynoldputra commented
@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