inversify / InversifyJS

A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.
http://inversify.io/
MIT License
11.3k stars 716 forks source link

[Feature] Official support for koa #1078

Open lonix1 opened 5 years ago

lonix1 commented 5 years ago

inversify officially supports and has examples for express, restify and hapi.

What about koa? It was discussed some years ago but never pursued.

Some background:

Suggestion:

It looks like it's 99% of the way there, as it's a 1:1 copy of inversify-express-utils. If inversify's core devs do a code review on it, we could have good koa support very quickly. And I hereby volunteer as guinea pig # 1.

(cc. @remojansen)

chenqing commented 2 years ago

+1

PodaruDragos commented 2 years ago

if people will maintain it, I don't see a reason why not to add it. We don't even have time to do much for inversify itself. moving the burden of maintaining yet another package is not a good idea.

ZQ-jhon commented 6 months ago

+1