You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor dependencies from classes in the service. And use dependency injection containers to create and know what needs to be injected into the classes.
Motivation
Will make the code more testable and loosely coupled, so it is possible to reuse it's individual parts.
All benefits include:
Reduced Dependencies
Reduced Dependency Carrying
More Reusable Code
More Testable Code
More Readable Code
The text was updated successfully, but these errors were encountered:
🚀 Feature request
Refactor dependencies from classes in the service. And use dependency injection containers to create and know what needs to be injected into the classes.
Motivation
Will make the code more testable and loosely coupled, so it is possible to reuse it's individual parts.
All benefits include:
The text was updated successfully, but these errors were encountered: