Timeline for Resolve concrete object in constructor from a given id
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 6, 2020 at 13:01 | history | edited | Greg Burghardt | CC BY-SA 4.0 |
deleted 4 characters in body
|
Dec 5, 2020 at 16:17 | vote | accept | morpheus05 | ||
Dec 5, 2020 at 16:17 | comment | added | morpheus05 | I agree ideally dependencies should be provided via constructor. I think your idea with the static/instance property is a nice middle way which allows the code to grow and slowly move to pure constructor injection. But hey, for now I have to defend the use of TS so I have to channel my energy. | |
Dec 5, 2020 at 15:43 | history | answered | Greg Burghardt | CC BY-SA 4.0 |