ctx._matchedRoute undefined
willin opened this issue · comments
老王 Willin (v0) commented
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
Aaron Heckmann commented
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
.