달력 리뷰 상세페이지 응답 기능 구현 완료#59
Merged
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.
review_id를 PathVariable로 제공받아 해당 리뷰의 상세 데이터를 응답한다.
member_id는 JWT에서 추출한다.
변경정
프로세스
쿼리
외부식당 리뷰인 경우
아닌경우
만약 조회가 안된다면 본인의 리뷰가 아니거나 타입을 잘못 전달한 것
Issue
GROUP CONCAT은 MySQL에서 사용하는 문법으로 해당 문법을 사용하면 특정 DBMS에 너무 종속적이게 된다. 따라서GROUP CONCAT에서 처리해주던 로직을 애플리케이션 단에서 처리하는 것으로 결정했다.MyReview일급 객체에 위임했다. 해당 일급 객체에서 ResponseDTO로의 변환을 수행하는 로직을 가지는 것과, ResponseDTO에서 일급객체를 파라매터로 받는 정적 팩토리 메서드로 가지는 것 어떤 방식이 효율적일까resolved: #36