jeffijoe / awilix-express

Awilix helpers/middleware for Express
MIT License
114 stars 7 forks source link

Add a new middleware to inject directly on request #3

Closed talyssonoc closed 7 years ago

jeffijoe commented 7 years ago

Nice!

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling c6362673823851d9c6766a5454d54276d00fead8 on create-inject-middleware into 017a2d3f05246d2fc1c83c668f5be4119fc8b3fa on master.

talyssonoc commented 7 years ago

@jeffijoe I wanted a way to inject stuff just to a single route, differently of how it's done by the invokers, I think this can be a good way, it may be worth to adding it to the koa bindings as well 😄

jeffijoe commented 7 years ago

Yeah for one-offs I can def see the value.