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
{{ message }}
Repository navigation
test(konsist): domain 레이어 가드가 안드로이드 SDK 의존을 안 막는다 — com.afternote.* 임포트만 검사 (#385 후속) #1150
androidx.* 를 통째로 막지 말 것 — androidx.paging.PagingData 4건이 걸린다. 아래 판단 참고
막을 거면 UI 쪽만 골라 막는다: androidx.paging.runtime·androidx.paging.compose·androidx.compose.*·androidx.lifecycle.*
konsist 는 :konsist:test 로 이미 PR 게이트에 물려 있어 워크플로 변경 불필요
📍 androidx.paging.PagingData 는 놔둔다 — 근거
AfternoteRepository·ReceiverRepository 가 Flow<PagingData<T>> 를 반환합니다. 실측 판단:
UI 타입이 아니다. Paging 의 안드로이드/UI 절반(PagingDataAdapter, collectAsLazyPagingItems)은 paging-runtime·paging-compose 에 있고, domain 은 그 둘을 의존하지 않는다 (paging-common 만).
Google 권장 아키텍처가 repository 인터페이스에 Flow<PagingData<T>> 를 두는 형태를 그대로 제시한다.
다만 완전한 순수 JVM 은 아니다 — 해석되는 아티팩트가 paging-common.aar(KMP 라이브러리의 android 타깃)이고, 소스 72개 중 한 곳이 android.util.Log 를 쓴다. 로깅 한 줄이라 도메인 개념 유출은 아니다.
그래서 그을 선은 "androidx. 금지" 가 아니라 "안드로이드 SDK(android.) 와 UI 툴킷 금지" 입니다. 전자는 PagingData 를 잘못 잡고, 후자가 실제로 막고 싶은 것을 막습니다.
Activity