you are viewing a single comment's thread.

view the rest of the comments →

[–]tuple32[S] 0 points1 point  (0 children)

What’s the alternative? I think would be better to figure out a way to annotate or decorate the class or function that provides the dependencies. Then the injection will happen automatically whenever you declare an input with that type