Sound On Demand For Adult
Go to file
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
gradle/wrapper gradle 설정 - daemon, configureondemand true로 변경 2023-07-24 14:50:09 +09:00
scripts CodeDeploy 스크립트 추가 2023-07-21 19:45:23 +09:00
src feat(character-comment): 캐릭터 댓글/답글 API 추가 및 상세 응답 확장 2025-08-19 18:47:59 +09:00
.editorconfig first commit 2023-07-21 16:25:53 +09:00
.gitignore feat: .junie/, .kiro/ 폴더 이하 파일들 git에 포함되지 않도록 코드 추가 2025-08-05 16:41:53 +09:00
README.md first commit 2023-07-21 16:25:53 +09:00
appspec.yml CodeDeploy 스크립트 추가 2023-07-21 19:45:23 +09:00
build.gradle.kts feat: 커뮤니티 글 등록/수정 2025-07-03 15:26:35 +09:00
gradlew first commit 2023-07-21 16:25:53 +09:00
gradlew.bat first commit 2023-07-21 16:25:53 +09:00
settings.gradle.kts first commit 2023-07-21 16:25:53 +09:00

README.md

소다라이브(Sound of Demand for Adult)