Constructor DI? #116
Unanswered
dpgraham4401
asked this question in
Q&A
Replies: 1 comment 4 replies
-
|
I think you want #94? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Maybe I'm missing something in the docs, I don't see docs on a way to just do simple constructor injection. I guess you could do something like the following?
But without an approach like this, we can't test a class without setting up the services container and passing all dependencies in that way.
Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions