koajs / joi-router

Configurable, input and output validated routing for koa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ctx._matchedRoute undefined

willin opened this issue · comments

When a route is matched, its path is available at ctx._matchedRoute and if named, the name is available at ctx._matchedRouteName

https://github.com/koajs/joi-router/blob/master/package.json#L44

@aheckmann

Those properties are not supported by this project. They are internal features of koa-router (and should probably be exposed on ctx.state). That said, the next release of this project includes an updated koa-router.