Skip to content

Factory in Data Layer to return Single<Repository> #279

@St4B

Description

@St4B

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions