Releases: joesonw/ts-router
Releases · joesonw/ts-router
0.1.3
0.1.2 Release
- Bug fixes
- New decorators
- @appcontext: retrieve app context
- @HttpContext: retrieve http context(koa)
- @RouteResponse: get response object from route(used in @after and @before mostly).
Fixes and one new feature
Fix path parameter matching issues.
Now support multi path on one route. e.g,
@Path('/user/_:id')
@Path('/user/_:id/info')
async function handler():Promise<Response> {
}