Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在Inversify Express Utils的文档中,该示例显示了如何覆盖BaseMiddleware然后将其注入到控制器中的特定路由中,如此处所示。
BaseMiddleware
有没有办法将中间件注入到每条路由中,而无需专门将其包含在每个@httpX装饰器中?
@httpX