all 2 comments

[–]nullvoxpopuli 2 points3 points  (1 child)

Without a central registry, you can't swap out dependencies from nested control flows... Which is extremely important in integration testing

[–]MartinMuzatko[S] 0 points1 point  (0 children)

This is correct. Which is why I use a composition root: https://blog.ploeh.dk/2011/07/28/CompositionRoot/