[FEAT] 기록 상세 페이지 API 구현 (조회/수정/삭제) #24
Merged
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.
📣 Related Issue
📝 Summary
기록 상세 페이지 API를 구현하였습니다. (조회/수정/삭제)
방식1 선택 이유=> 처리해야 할 데이터가 많지 않으므로(최대 10개) 성능 이슈가 없고, 방식2에 비해 클라이언트가 ID를 관리해야할 필요가 없어 편의성 높입니다. 또한, 코드가 간결하고 유지보수가 쉽다는 점에 착안하여 채택하였습니다.(수정 사항)
-> 기존 Post entity 내 필드에서 연동되어 관리하던 Quote를 따로 분리하여 Quote 테이블 자체에서만 저장&수정&삭제 되도록 수정하였습니다.
📬 Reference