Dependency Injection #77
Closed
JustSteveKing
started this conversation in
Ideas
Replies: 3 comments 2 replies
-
I think that it depends if the idea is to keep dependency-free, then I think it would be better to create our own minimal container |
Beta Was this translation helpful? Give feedback.
2 replies
-
Yes, we should keep minicli/minicli dependency-free - just +1'ing what @WendellAdriel said :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
This was already merged on #78 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently we are using a very basic form of dependency injection in minicli, using magic methods to try and call resolved object. I think we can improve upon this, but there are a few different ways.
I would definitely like your opinion on this @erikaheidi as it is right on the edge for if we should allow it or not. But, for resolving services we would get much more benefit from using an actual container.
Beta Was this translation helpful? Give feedback.
All reactions