Relative Content

Tag Archive for mobilerepository-patternclean-architecture

Can a repository depend on another one to construe a domain model?

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?

Can a repository depend on another one to construe a domain model?

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?

Can a repository depend on another one to construe a domain model?

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?

Can a repository depend on another one to construe a domain model?

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?

Can a repository depend on another one to construe a domain model?

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?