Open utterances-bot opened 1 year ago
Nice article,
How can i through error, if num value is greater than validation value. now here its re Assigning defined max value
i mean BadRequestException from toNumber function
Thanks resolve
throw new HttpException({
statusCode: 400,
message:[${property_name} value lower than ${opts.min}
],
error: 'Bad Request',
}, 400);
Nest JS Validate Query Paramater and DTOs – @tkssharma | Tarun Sharma | My Profile
Nest JS Validate Query Paramater Github Link https://github.com/tkssharma/blogs/tree/master/nestjs-transform-query-medium-main I want to…
https://tkssharma.com/nestjs-playing-with-query-param-dto/