[#585] 프로필 사진 수정이 반영되지 않는 문제를 해결한다#586
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a profile image data fetching and caching mechanism, replacing the previous CacheableImage implementation. Key feedback includes resolving a potential URL combining bug in ProfileImageDataServiceImpl by using .get("") instead of passing the full URL string, and simplifying the state management in ProfileViewModel by replacing the custom ProfileAvatarImageData struct with a standard Data? type.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
🔗 연관된 이슈
🎯 의도
📝 작업 내용
📌 요약
CacheableImage제거🔍 상세
FetchProfileImageDataUseCase와ProfileImageDataRepository계약 추가ProfileImageDataRepositoryImpl에서 URL 캐시 히트가 아니라 원격 요청을 우선 수행하도록 변경MemoryCacheStore에 이미지Data저장ProfileImageDataServiceImpl에서 NexaNXAPIClient로 이미지 raw data 요청URLRequest.cachePolicy = .reloadIgnoringLocalCacheData유지ProfileViewModel에서 같은 avatar URL을 다시 받아도 이미지 data fetch side effect 실행ProfileView에서Data -> UIImage -> Image렌더링으로 전환CacheableImage삭제📸 영상 / 이미지 (Optional)