You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say that we have a factory in data layer that returns a repository (implementation of IRepository) based on some parameters. What do you think about returning Single?
I think is better in order to have all the steps of a use case in sequence. Is there any drawback? Do we violate any principle/boundary?
The text was updated successfully, but these errors were encountered:
Let's say that we have a factory in data layer that returns a repository (implementation of IRepository) based on some parameters. What do you think about returning Single?
I think is better in order to have all the steps of a use case in sequence. Is there any drawback? Do we violate any principle/boundary?
The text was updated successfully, but these errors were encountered: