Why do feature modules explicitly depend on both domain and data, even though domain already re-exports data? #1932
-
|
Hi, In this project, I noticed that feature modules like foryou, interests, and search include both domain and data as implementation dependencies. However, the domain module already uses Given that feature modules interact with interfaces and don't need to access internal implementations from data, it seems that depending on domain alone would be sufficient. So, why do feature modules still explicitly include data as a dependency? I’d appreciate any clarification on this design decision. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I think your suggestion is right. |
Beta Was this translation helpful? Give feedback.
I think your suggestion is right.
You can remove the data implementation in the feature module.