logoalt Hacker News

deauxlast Thursday at 3:57 AM0 repliesview on HN

Why pose DI as replacing singletons when they're used together all the time? Injecting dependencies to create a singleton repository or service class, which is shared across requests.