Clean constructor dependency injection by using a proxy object
Foreword
This is a refactoring approach that I did when I faced a problem with redundant code brought by dependency injection. I had an abstract class that needs a set of dependencies. Defining the dependencies again and again in the constructor of e...
jgrivera.hashnode.dev3 min read