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
Thank you for the great sample. I wonder why You do not have an interface for MarvelRepository or any other Repositories in your core module. You are following SOLID principles, and that is D is SOLID to follow dependency inversion.
High-level modules should not depend on low-level modules. Both should depend on abstractions (e.g., interfaces)
Using interfaces will also simplify unit testing.
Were there any specific reason that you did not use interface for Repository?
The text was updated successfully, but these errors were encountered:
@vmadalin can I make the interfaces for your repositories and rather than providing Repository implementation , provide The interface abstraction, which would make the code less tightly coupled, and will also make it easier for testing.
Can u assign this to me?
Thank you for the great sample. I wonder why You do not have an interface for MarvelRepository or any other Repositories in your core module. You are following SOLID principles, and that is D is SOLID to follow dependency inversion.
High-level modules should not depend on low-level modules. Both should depend on abstractions (e.g., interfaces)
Using interfaces will also simplify unit testing.
Were there any specific reason that you did not use interface for Repository?
The text was updated successfully, but these errors were encountered: