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
{{ message }}
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.
The prompt class have a huge number of dependencies in order to execute all the prompt actions. Instead if all this dependencies, we should implement the Strategy Pattern where each strategy will be responsible for his action and has his own dependencies (constructor injection).
The text was updated successfully, but these errors were encountered:
This problem is because there are too much abstractions. When you need to use the code, you need to inject all of this classes :P, I think that the solution is reduce the abstraction level.
The prompt class have a huge number of dependencies in order to execute all the prompt actions. Instead if all this dependencies, we should implement the Strategy Pattern where each strategy will be responsible for his action and has his own dependencies (constructor injection).
The text was updated successfully, but these errors were encountered: