-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add is_checked column #173
Conversation
위와 방식대로 구현하게 되면 기프티콘 상세화면 페이지 넘어가기 전에 |
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.
수고하셨습니다!
혹시 voucher update API 에서 is_check 플래그를 설정하는 것은 어떨까요?
기존의 update API와 차이가 없는 것 같아서, 한 곳에서 관리하는게 더 좋다고 생각합니다!
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.
LGTM
동작 자체는 문제가 없을 것 같은데, 두 API의 차이점이 몇 가지 있습니다. 1. response body의 data를 반환하는가?
2. request body가 필요한가?
1번보다는 2번이 논점이라고 생각하는데, check 시에도 response body를 포함(ex: |
|
캐싱 측면에서는 생각 안 해봤네요, 감사합니다. |
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.
확인했습니다.
PR Type
Motivation
Problem Solving
is_checked
컬럼을 통해 기프티콘 조회 여부 체크is_checked
를 수정하지만 response에는 반영되지 않도록 함To Reviewer