gravity-ui / expresskit

MIT License
4 stars 2 forks source link

Make DI more extensible #2

Open 3y3 opened 1 year ago

3y3 commented 1 year ago

Current DI:

constructor(nodekit: NodeKit, routes: AppRoutes) 

proposal:

constructor({nodekit}: {nodekit: : NodeKit}, routes: AppRoutes) 

This allow in future to inject new overrides for baseMiddleware