accessing entitites/models inside interface
akif-ih opened this issue · 2 comments
akif-ih commented
Hi i just wanted to know why u accessed models inside the interface layer as clean archi said only outer layer know about the next immediate later aren't we voilating the rule ?
manakuro commented
Thank you for your question.
The outer layers do not always have to depend on the next layer. The dependencies should be only inward. So you can use models in any outer layer of it.
smithaitufe commented
You should close this issue. @manakuro