[Feature/Fix] 클라이언트 정산 계산 로직 구현 및 지출 수정 버그 해결#49
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.
🔗 관련 이슈
✨ 작업 내용
CalculateSettlementUseCase): 서버 의존성을 제거하고 클라이언트 내부에서 지출 내역을 바탕으로 즉시 정산 결과(총 금액, 인원당 부담금, 송금/수령 내역)를 계산하도록 변경했습니다.SettlementResultFeature가 API 호출 대신 로컬 UseCase를 사용하여 계산된 결과를 실시간으로 보여주도록 개선했습니다.payerId(결제자) 정보가 누락되는 문제를 해결하여 정상적으로 수정이 반영되도록 했습니다.📸 Showcase
📝 참고 사항
Motivation 🥳 (코드를 추가/변경하게 된 이유)
Key Changes 🔥 (주요 구현/변경 사항)
payerId프로퍼티 추가To Reviewers 🙏 (리뷰어에게 전달하고 싶은 말)
CalculateSettlementUseCase의 계산 로직(특히 1/N 처리 및 송금 리스트 생성)이 정확한지 꼼꼼히 봐주시면 감사하겠습니다!Reference 🔗
Close Issues 🔒 (닫을 Issue)
Close #No.
Checklist