[#468] WidgetCore 레이어에서 Domain 레이어 의존성을 제거한다#473
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 연관된 이슈
🔗 연관된 이슈
🎯 의도
WidgetCore가 Domain/Data 레이어에 직접 의존하던 구조를 정리하고 위젯 동기화 흐름과 스냅샷 갱신 책임을 각 레이어 역할에 맞게 재배치
📝 작업 내용
📌 요약
🔍 상세
WidgetTodoSnapshot을 Core 계층으로 이동해 Data, Persistence, WidgetCore에서 공통 스냅샷 값으로 사용WidgetSyncEvent,WidgetSyncEventBus,WidgetSyncEventBusImpl,WidgetSyncEventHandler를 Data 계층으로 이동WidgetSyncEventHandler관련 테스트를 Data 테스트 타깃으로 이동WidgetTodoSnapshot을 직접 사용하도록 변경DevLogDomain.framework,DevLogData.framework링크 제거WidgetSnapshotUpdaterImpl,WidgetSnapshotPreferenceStoreImpl을 Persistence의 Widget 폴더로 이동📸 영상 / 이미지 (Optional)
graph TD App --> Core App --> Domain App --> Data App --> Infra App --> Persistence App --> Presentation App --> WidgetCore WidgetExtension --> WidgetCore WidgetCore --> Core Persistence --> Core Persistence --> Data Persistence --> WidgetCore Infra --> Core Infra --> Data Data --> Core Data --> Domain Presentation --> Core Presentation --> Domain Domain --> Core