Open chriskuech opened 1 month ago
yes is better. any alternative?
yes is better. any alternative?
I switched to inversify
@chriskuech @alfiadoDev Sadly it is a sad state of affairs for many TypeScript DI libraries. Inversify
maintenance is not much better, if you see their GitHub repo, without counting a small release v6.03 made just yesterday, the previous one v6.01 was done 3 years ago. On top of that, there are some very concerning issues related to the future of the project (See here and here). Archiving tsyringe
I think is strong measure for a project with 5K stars on GitHub and 350K NPM downloads weekly. Before that, in my opinion it would be better to try searching for new maintainers among contributors or anyone else willing to help. And this is something Inversify
is doing. If you go to their issues page, the first thing you see is the Maintainers wanted issue pinned on the top.
@eydelrivero yes, I have since observed the same. If anyone comes to this post recommending a DI solution for TS, I would instead recommend async_hooks and lazy instantiation with closures.
hey guys, inversify
has a new group of working members now, things will shift in a good direction. I will keep the pinned issue pinned so that other people who want to join can do so.
@PodaruDragos Very glad to hear such a reassurance from someone actively working on it 👍
This repo is evidently unmaintained. Please archive the repo so people know not to use it on projects.