Open shellking4 opened 2 years ago
That could work, we can derive the @Method
for them form the information we have, but what you would do with the extra functionality provided by the @Get
for example? Yeah that could work, but it will be so limited. wdyt?
Not an issue but I have a suggestion.
Since this library is part of Nestjs core, It would be great to have a feature allowing us to just define our method in controllers without having the @Get(), @Post parts of the stuff. Then we'll have a separate route file leveraging this library. The route file would have a structure like this:
My controller would then go like this:
Thank you so much for all you're doing to improve our DX.