-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat/256 : 결제 내역에 선물 케이스 추가 #263
Conversation
Test Results 9 files 9 suites 0s ⏱️ Results for commit 8781c6a. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
코멘트 확인부탁해!
data/src/main/java/com/nexters/boolti/data/network/response/ReservationDetailResponse.kt
Show resolved
Hide resolved
...entation/src/main/java/com/nexters/boolti/presentation/reservationdetail/ResendGiftButton.kt
Show resolved
Hide resolved
...n/src/main/java/com/nexters/boolti/presentation/reservationdetail/ReservationDetailScreen.kt
Outdated
Show resolved
Hide resolved
private val reservationId: String = checkNotNull(savedStateHandle["reservationId"]) { | ||
"reservationId가 전달되어야 합니다." | ||
private val id: String = checkNotNull(savedStateHandle["reservationId"]) { | ||
"id가 전달되어야 합니다." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[의견]
실제로 사용하는 아규먼트 키는 reservationId 라서 디버깅할 땐 reservationId가 더 명확할 듯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
일반 예매인 경우 API에 reservationId를, 선물인 경우 API에 giftId 를 넘겨 주어야 해서, 일반적인 네이밍인 id로 변경했었어. 그래서 사실 argument key도 같이 바꿨어야 했는데, key값은 하드코딩 + 수정할 곳이 많아서 변수명만 바꿨던 것...
일단 reservationId로 다시 변경할게
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아하 reservationId랑 giftId는 같은 역할인거야?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
맞아
결제 내역 목록에서는 예매 내역이랑 선물 내역이 하나의 api로 호출되는데, 상세로 넘어갈 때는 api가 분리 돼서 조금 까다로워졌어
Issue
작업 내용
코멘트
KakaoTalk_20240724_234545521.mp4