79487886

Date: 2025-03-05 23:14:03
Score: 0.5
Natty:
Report link

As others have said, this is not recommended. But one approach is to leave the controller pathless and set on each route

@Controller('user')
...
@Get('me')
@Get(':id')

You can do

@Controller()
...
@Get('profile')
@Get('user/:id')
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mateus Enrick Pitura