-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Currently it is not possible to reliably resolve full URL from a subrouter as subrouter ctx.match
is matched from a partial path provided in WorkerRouter.use
. The only way to resolve full URL within subrouters is to make assumptions about parent routes which goes against idea of composability.
It would be really useful to pass parent match to subrouters making it possible to reliably resolve full URL within a subrouter.
Metadata
Metadata
Assignees
Labels
No labels