-
-
Notifications
You must be signed in to change notification settings - Fork 391
Open
Description
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?
Metadata
Metadata
Assignees
Labels
No labels