-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Require controller and http method instead of module #174
Comments
That could work, we can derive the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: