Comment by traspler
1 day ago
What's the "Non-invasive" metric? How is it less invasive than TSyringe or just as non-invasive as Awilix?
1 day ago
What's the "Non-invasive" metric? How is it less invasive than TSyringe or just as non-invasive as Awilix?
> What's the "Non-invasive" metric?
You can use it with code you can't modify (decorators are just convenience helpers, you can do same through bindings DSL with bit less type safety).
TSyringe depends on reflect-metadata and, if my understanding is correct, forces you to use its decorators.
The comparison table is completely subjective and made with just several glances at the readmes of the mentioned libraries. The point was to showcase phased DI for Typescript.