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
refactor(timeletter): runCatchingCancellable 을 core:domain 경로로 바꾸고 CreateTimeLetterUseCase 의 손 사본을 걷는다 #2264
#2260 에서 runCatchingCancellable 의 정본을 core:domain(com.afternote.core.domain.result)으로 옮겼고, core:common 의 옛 함수는 위임만 남기고 @Deprecated 를 붙였습니다. timeletter 모듈에 옛 경로 사용처와 손으로 짠 사본이 남아 있습니다.
feature/timeletter/presentation 의 import com.afternote.core.common.result.runCatchingCancellable 3개 파일을 com.afternote.core.domain.result.runCatchingCancellable 로 바꿉니다.
feature/timeletter/domain 의 CreateTimeLetterUseCase 에 있는 try / catch (CancellationException) { throw } / catch (Throwable) 를 runCatchingCancellable 로 바꿉니다. domain 모듈이 core:common 에 의존할 수 없어 생긴 사본이라, core:domain 의존만으로 쓸 수 있게 된 지금은 필요 없습니다.
완료 조건: timeletter 모듈에 옛 경로 import 와 손 사본이 0건이고, 기존 timeletter 테스트가 그대로 통과합니다. 동작 변경은 없습니다.
참고
선행: #2260(PR #2261) 머지. 위임 함수 자체의 제거는 모든 모듈이 옮긴 뒤 core 쪽 별도 이슈로 합니다.
Activity