Closed zerocrates closed 8 years ago
@zerocrates I looked through all the controllers and have some ideas about how to remove the service locator dependencies. I still need to address the dependencies in the existing controller plugins, but I'm saving that for later. How does this approach look to you?
Some controllers use services that aren't (or shouldn't be) widely used. Create factories for the following controllers, injecting the listed dependencies:
Some services are (or could be) widely used by controllers. Create the following controller plugins (currently used by the listed controllers)
Create factories for existing controller plugins, injecting the listed dependencies:
See also #554, these don't implement that interface but the usages of the method are also deprecated.