|
|
|
|
|
by jasonlotito
5534 days ago
|
|
Question regarding the injection. I've found that while injecting dependencies is good, I still prefer the brevity of not having to declare the common case. Basically, I allow an injection to take place, but make it optional, and if one isn't passed, I use the common case, which in effect makes a call to a getInstance. Any thoughts on that? |
|