4 ms·
>without the mess and complexity of proxying Proxying is less of a mess and less complex than DI. It requires zero changes to your code and can be done with of
by crdoconnor 9y ago
>without the mess and complexity of proxying
Proxying is less of a mess and less complex than DI. It requires zero changes to your code and can be done with off the shelf tools, it will continue to work if you rewrite your endpoint in a different language and you easily can do stuff like mimic high load or flaky networks to see what happens to your system.
>If it's so objectionable, handle injection some other way
Why do DI at all if you're just doing it for testing purposes?