Open StarpTech opened 3 years ago
i don't want to sound bitter but if it were still maintained shouldn't you have had a reply already? i just went scrolling through the history of the repository and all the recent activity has been by dependabot. the last merged commit excluding docs changes is 9/3/2021
@NoNameProvided @pleerock Hi. Could we have someone take care of this repo? I see some PRs waiting for approvals like #399 which will improve performance a lot but in lack of code reviews. I would love to help if wanted.
@NoNameProvided @pleerock Hi. Could we have someone take care of this repo? I see some PRs waiting for approvals like #399 which will improve performance a lot but in lack of code reviews. I would love to help if wanted.
I'd be happy to help as well
I am looking at using a DI package and was pretty keen on this but considering no maintainers have responded to this issue I think I'll be going with TSyringe.
Seems that @NoNameProvided and @pleerock are still active on GitHub. But they just barely take care of this repo anymore.
My two cents on this. This package is in a way the best dependency injection project in the nodejs ecosystem. On the other hand the lack of maintenance is clear: documentation is far from being readable (I struggle all the times), important PR such as #399 are not merged. Can you please consider hand this over to someone else? In this issue already two people showed their interest to help. Another way is to fork, but it would be better to keep this one of course.
If any of you already looked for an alternative, do you have any suggestion?
@ramiel I guess you could use the NestJS IoC Container standalone: https://docs.nestjs.com/standalone-applications
@scriptcoded thanks for the hint but I probably prefer something that does just the IoC job, without getting all the code from NestJS. I don't know how bloated is to get that package just to use its IoC part.
I guess forking could be a valid alternative here?
I think this is a very good library. I would like to have this maintained as well. I could even contribute. If anyone forks please let us know.
Some sort of reply would still be nice @NoNameProvided @pleerock
I am looking at using a DI package and was pretty keen on this but considering no maintainers have responded to this issue I think I'll be going with TSyringe.
Thanks for the pointer! I tried looking at a few options. https://brandi.js.org/ seems popular and well-supported, but it requires more manual boilerplating :/
typedi is really nice with how straightforward and simple it is. It's a shame that it's not getting any proper attention from maintainers. TSyringe is supported by Microsoft, and seems to be able to get you going with low-config decorator-based service definition and automatic constructor injection. Will be giving it a spin.
The only activity I see is from a bot. There are a lot of unanswered questions. Any status update would be great.
I had no time to focus on the typestack or any other OSS projects in the last year. However, I would also not call 30 open issues a lot. The majority of those are questions (haven't checked yet) that can be answered by the community.
I don't want to false give hope, so it's important to say even when I will have time I will probably focus on class-transformer
and class-validator
first.
Some sort of reply would still be nice @NoNameProvided @pleerock
pleerock is not maintaining the typestack projects for a long-time now.
I'd be happy to help as well
For people who offered help, please reach out to me at: typestack-slack-invite@outlook.com
.
I feel it's important however to stress that as a maintainer your task is:
All typestack projects (typedi less so) suffers from feature creep as in the past anyone requested anything it got into the projects. This is not the goal now, so please keep this in mind.
In the past, I had bad experiences with collaborators who just joined and merged their own PR to never be seen again.
Obviously, help is always appreciated and I am happy to onboard anyone but keep these rules in mind pls.
TSyringe hasn't had a release since 2020 and a similar number of issues awaiting triage.
I guess forking could be a valid alternative here?
Hiya, just an update: I've forked TypeDI. I've made quite a few substantial changes to the underlying API, and added a few very nice-to-have features:
Optional
, SkipSelf
, Self
, Many
. This is very much copied from Angular: you can use them to change the strategy used for resolving a certain dependency of a service.of
and ofChild
(and an API for creating containers with no parent)JSService
function, without any manual calls to Container.set
required.getOrNull
and getManyOrNull
methods for resolving identifiers (alongside the former error-throwing APIs)It's still a WIP, though!
Documentation is being worked on right now: https://github.com/freshgum-bubbles/typedi/pull/19. I will be maintaining the library actively; as a heavy user of DI in TypeScript, I need a container that works. I'd be happy to accommodate any (reasonable) feature requests too, assuming they fit well into the project and don't result in death by a thousand features (and ways to do one thing).
The only activity I see is from a bot. There are a lot of unanswered questions. Any status update would be great.