Repository navigation
fix(profile): 프로필 수정 로딩 실패 시 크래시를 막고, 로딩 호출을 동시에 부른다 - #614
Merged
Merged
Conversation
- ProfileEditViewModel.load: async 를 coroutineScope 로 감싼다. launch 에 바로 건 async 가 실패하면 부모 launch 까지 실패해 크래시했다 - MyTierHistoryViewModel.load: 티어 이력과 점수 변동을 함께 받는다(부분 성공 규칙 유지) - SettingsViewModel.load: 읽은 답변 기록을 기존 병렬 조회에 합친다 - InquiryListViewModel.load: 문의 목록과 읽은 답변 기록을 함께 받는다(기록 실패는 지금처럼 흡수) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
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.



작업 내용
ProfileEditViewModel.load:launch안에coroutineScope없이async를 두어, 조회 실패 시 예외가runCatching을 지나 부모로 전파돼 앱이 죽던 버그 수정 →coroutineScope로 감싸 오류 상태로 표시MyTierHistoryViewModel.load: 두async를coroutineScope안으로SettingsViewModel.load: 읽은 답변 기록 조회도 다른 네 조회와 함께 동시에 호출InquiryListViewModel.load: 문의 목록과 읽은 답변 기록을 동시에 호출 (기록 조회 실패는 기존처럼 흡수)참고
save)은 범위에서 제외Closes #608
🤖 Generated with Claude Code