Usually, we have multiple repos in the app, each responsible for a model. So for example:
- AuthRepo
- UserRepo
- RecipeRepo
Same can be done to the local/remote DS, or as well as the DAOs.
The main reason for this is simply better SRP.
Currently in the app, we have only one repo, I think this can refactored.
Usually, we have multiple repos in the app, each responsible for a model. So for example:
Same can be done to the local/remote DS, or as well as the DAOs.
The main reason for this is simply better SRP.
Currently in the app, we have only one repo, I think this can refactored.