In the following example, copied from the nestjs doc and slightly modified so that the 'id' param is a string :
@Get(':id')
async findOne(@Param('id', ParseIntPipe) id: string) {
return id;
}
Why does that @tawny vale decorator lets me use a validation that return a number and doesn't complain ?
Is there some config to enable this ?
Thank you !