-
Notifications
You must be signed in to change notification settings - Fork 1
Refactor: 부스 예약 조회 관련 개선 #291
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
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.
확인했습니다! 수고하셨습니다 😃
하나 궁금한 건 현재 수정된 내용은 같은 날짜 + 하위 시간이 묶여서 나가게 되는데, 같은 서비스를 묶어서 보내려면 서비스 명으로 먼저 그룹을 묶어야 될 것 같습니다! 아래는 예시입니다!
{
reservations : [
{
"id" :
"name" :
"price" :
"dates" : [
{
"date_id":
"date":
"times" : [
{
"time_id":
"time":
},
]
},
. .
]
. . .
}
]
}
dto 관련 의견 주신 부분은 dto는 동일하게 사용하고 응답 객체를 나눠서 매핑을 다르게 하는 방법을 사용하면 될 것 같습니다! 😃
muncool39
left a comment
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.
확인했습니다! 날짜랑 시간이 묶여서 보기 좋아진 것 같아요!
같은 서비스끼리 묶는 것은 지금 시점에서 어려울 수 있으니 일단 이렇게 진행해도 좋을 것 같네요 수고하셨습니다! 😃
applyUser 필드에 관련해서 @JsonInclude(JsonInclude.Include.NON_NULL) 어노테이션을 사용해 보는 것은 어떨까요? 값이 null인 경우 응답에 해당 필드를 보이지 않게 할 수 있어서 현재 구현하신 방법이랑 잘 맞을 것 같습니다!
muncool39
left a comment
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.
수정 확인했습니다! 수고하셨습니다 ! 👍



Summary
Key Changes
Testing
수정 전

수정 후


To Reviewers