admin管理员组文章数量:1128536
I have an Android App with a feature F. There is a specified use case UC. Along with the UC in the domain layer are specified repository interfaces RA and RB and models: A and B. The RA has a method that returns model A. The problem is that model A includes a list of B, so I would like to inject into the RA implementation, the RB to get the list of B and construe model A. Is it the right approach?
API returns model A with a list of IDs of B. The RB to get a B is also used by another UC.
本文标签: mobileCan a repository depend on another one to construe a domain modelStack Overflow
版权声明:本文标题:mobile - Can a repository depend on another one to construe a domain model? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736714897a1949145.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论