Files
sodalive-backend-spring-boot/src/main/kotlin/kr/co/vividnext/sodalive
Klaus f61c45e89a feat(character-comment): 캐릭터 댓글/답글 API 추가 및 상세 응답 확장
- 캐릭터 댓글 엔티티/레포지토리/서비스/컨트롤러 추가
  - 댓글 작성 POST /api/chat/character/{characterId}/comments
  - 답글 작성 POST /api/chat/character/{characterId}/comments/{commentId}/replies
  - 댓글 목록 GET /api/chat/character/{characterId}/comments?limit=20
  - 답글 목록 GET /api/chat/character/{characterId}/comments/{commentId}/replies?limit=20
- DTO 추가/확장
  - CharacterCommentResponse, CharacterReplyResponse, CharacterCommentRepliesResponse, CreateCharacterCommentRequest
- 캐릭터 상세 응답(CharacterDetailResponse) 확장
  - latestComment(최신 댓글 1건) 추가
  - totalComments(전체 활성 댓글 수) 추가
- 성능 최적화: getReplies에서 원본 댓글 replyCount 계산 시 DB 카운트 호출 제거
  - toCommentResponse(replyCountOverride) 도입으로 원본 댓글 replyCount=0 고정
- 공통 검증: 로그인/본인인증/빈 내용 체크, 비활성 캐릭터/댓글 차단

WHY
- 캐릭터 상세 화면에 댓글 경험 제공 및 전체 댓글 수 노출 요구사항 반영
- 답글 조회 시 불필요한 카운트 쿼리 제거로 DB 호출 최소화
2025-08-19 18:47:59 +09:00
..
2024-07-25 21:53:29 +09:00
2025-07-10 15:31:41 +09:00
2024-01-01 04:46:57 +09:00
2025-06-12 16:10:32 +09:00
2024-12-02 08:58:54 +09:00
2025-07-21 16:44:10 +09:00
2023-08-19 03:21:39 +09:00
2025-07-10 15:31:41 +09:00
2025-07-18 13:33:19 +09:00
FAQ
2025-03-22 04:39:54 +09:00
2025-03-26 16:51:00 +09:00
2025-07-21 22:30:19 +09:00
2025-07-16 19:00:39 +09:00