Skip to content

[P1] Data layer: repositories, domain models and typed errors #78

Description

@amaury901130

Replace UserManager/SessionManager and Result<Data> with repositories returning domain models and a sealed DomainError. Separate network DTOs from domain models (no password in the domain User).

Acceptance criteria

  • UI never sees DTOs or Retrofit types
  • Repository unit tests with fakes

Reference: Android Base — Modernization Audit & Recommendations — section: Target architecture

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions