v0.10.0
Features
- Introduce
BaseController#context
. To know more, check #22.
interface Context {
req: express.Request
res: express.Response
inject<S>(key: string): S
}
export class BaseController {
context?: Context
...
Due to the introducing, BaseController#inject
, BaseController#injector
and BaseController#httpContext
will be deprecated from v1. For now, it will just show warning messages.