You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to NestJS but have learned a lot in the past few weeks. One of those things is that it's possible to set route params using the built-in RouterModule.register() function.
Now, I noticed in the TicketController (which is the Controller used by the TicketModule), I cannot access the declared :columnid param. I've checked the express req.params object and it does contain this param with the correct value. Is it possible for this rule to be updated to check if any Module uses the RouterModule.register() function and, if so, check for any registered params?
I understand my request may be a relatively specific use-case, maybe even an edge-case, but given the scalability of my application it would make it much harder to manage if I needed to specify each path-piece in every submodule or controller.
The text was updated successfully, but these errors were encountered:
I'm new to NestJS but have learned a lot in the past few weeks. One of those things is that it's possible to set route params using the built-in
RouterModule.register()
function.Now, I noticed in the TicketController (which is the Controller used by the TicketModule), I cannot access the declared
:columnid
param. I've checked the expressreq.params
object and it does contain this param with the correct value. Is it possible for this rule to be updated to check if any Module uses theRouterModule.register()
function and, if so, check for any registered params?I understand my request may be a relatively specific use-case, maybe even an edge-case, but given the scalability of my application it would make it much harder to manage if I needed to specify each path-piece in every submodule or controller.
The text was updated successfully, but these errors were encountered: