Skip to content

[BUG] Data - Domain - Circular Dependency Problem  #16

@hyeonghwan

Description

@hyeonghwan

AS-IS

  • App -> Data -> Domain -> App -> Data
  • 기존 의존성에서 APP에서 Data, domain에 의존하다보니 서로 의존하는 Circular Dependency가 생겨 빌드가 안되는 문제발생

TO-BE

  • APP에서 Data layer를 호출하는 의존성을 제거 -> Domain 에 의존하도록 변경 해야함
  • ViewModel 이 repository가 아닌 Domain의 Usecase를 바라보도록 Refactoring
  • 각 계층의 맵핑 모델 추가
  • Use case에서 필요한 parameter 정의

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions