-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
Closed
Description
Idea is simple. Addressable resources in hierarchy may have url like /a/b/c/..... So I can GET /a/b or GET /a but cannot GET /a/c. To handle it I simply define path by regexp and it works well, but I think that + quantifier will help to save a couple of lines of code.
That is I would define path like this /:id+ and if it applied to path /a/b/c then req.params.id should have [ 'a', 'b', 'c' ]
My suggestion is to add + quantifier that allow to define
Metadata
Metadata
Assignees
Labels
No labels