Closed willin closed 6 years ago
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
.
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