Interface: MiddlewareContext
Defined in: src/types.ts:286
Context passed to a Middleware.
Properties
container
readonlycontainer:ServiceProvider<any>
Defined in: src/types.ts:288
The container the resolution runs in (read-only view).
depth
readonlydepth:number
Defined in: src/types.ts:292
Nesting level: 0 for a get() call, 1 for its dependencies, and so on.
path
readonlypath: readonlyServiceKey[]
Defined in: src/types.ts:290
Keys being resolved, outermost first; the last one is the current key.