✨ Feat/#315 채팅 내용 저장 기능 구현 #317
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.
👀 관련 이슈
#315
✨ 작업한 내용
강의 종료 이후 redis의 채팅 내용을 RDS로 저장하는 로직 설계했습니다. JSON으로 저장된 메시지를 DTO로 매핑한 후 DTO를 Entity로 변환하여 저장하는 로직으로 구현했습니다.
강사의 채팅 내용은 저장되지 않으며 저장된 메시지는 GET
api/lectures/{lectureId}/questions엔드포인트를 통해 확인할 수 있습니다.🌀 PR Point
POST
api/lectures/chatting/after/{lectureId}노션에 명세된 예외가 적절히 처리되는지 검토해주세요. redis에 저장된 채팅 내용이 RDS로 저장되었는지 확인 부탁드립니다.
🍰 참고사항
채팅 기능 PR 머지 이후에 검토 부탁드립니다.
📷 스크린샷 또는 GIF
X