Timeline for Doesn't repository pattern in clean architecture violate Dependency inversion principle?
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 17, 2019 at 16:50 | vote | accept | hasrthur | ||
Mar 13, 2019 at 18:00 | history | tweeted | twitter.com/StackSoftEng/status/1105891399076065283 | ||
Mar 13, 2019 at 15:09 | answer | added | doubleYou | timeline score: 8 | |
Mar 13, 2019 at 15:00 | answer | added | Ewan | timeline score: 1 | |
Mar 13, 2019 at 14:01 | comment | added | Engineert | Then use ICarModel interface instead of concrete CarModel class. | |
Mar 13, 2019 at 12:53 | comment | added | Robert Bräutigam | Here is an article why the Clean Architecture is fundamentally incompatible with Object-Orientation (javadevguy.wordpress.com/2017/07/27/…), not just certain practices of it. Here is a pragmatic analysis of Uncle Bob's own repository, showing the difficulties changing such architectures: javadevguy.wordpress.com/2017/11/15/screaming-architect | |
Mar 13, 2019 at 9:28 | comment | added | Stop harming Monica |
Your repository implementation might or might not violate the DIP but clean architecture does not say that it must depend on a concrete CarModel class. That is just a choice you made.
|
|
Mar 13, 2019 at 8:05 | review | First posts | |||
Mar 15, 2019 at 10:54 | |||||
Mar 13, 2019 at 8:03 | history | asked | hasrthur | CC BY-SA 4.0 |