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
Some existing classes has a lot of dependencies e.g. BrowserContentView, need to leverage service locator pattern or implement DI.
In the new PR #72 which is not finished yet I had to create service locator to access the use cases, but need to improve it even more.
Make sure to use ServiceLocator only inside UseCaseFactory or other factories.
The text was updated successfully, but these errors were encountered:
kyzmitch
changed the title
[todo] Use ServiceLocator or implement own small DI infrastructure
[todo] Use ServiceLocator DI to store use cases for the view models
Jan 31, 2024
Some existing classes has a lot of dependencies e.g.
BrowserContentView
, need to leverage service locator pattern or implement DI.In the new PR #72 which is not finished yet I had to create service locator to access the use cases, but need to improve it even more.
Make sure to use ServiceLocator only inside UseCaseFactory or other factories.
The text was updated successfully, but these errors were encountered: