next-api-decorators
next-api-decorators copied to clipboard
Custom Validation pipe option not working
@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