Skip to content

#140 [Breaking Change] Battle/Quiz/Poll 분리 및 Vote 도메인 재편#164

Merged
jucheonsu merged 6 commits intodevfrom
breaking/#140
Apr 11, 2026
Merged

#140 [Breaking Change] Battle/Quiz/Poll 분리 및 Vote 도메인 재편#164
jucheonsu merged 6 commits intodevfrom
breaking/#140

Conversation

@jucheonsu
Copy link
Copy Markdown
Member

#️⃣ 연관된 이슈

📌 공유 사항

  1. 기존 Battle 중심 구조를 Battle/Quiz/Poll 3개 콘텐츠 도메인으로 분리했습니다.
  2. 사용자 투표 행위 도메인을 BattleVote/QuizVote/PollVote로 분리해 집계 책임을 명확히 했습니다.
  3. BattleType 기반 분기와 레거시 단일 Vote 구조를 제거했습니다.
  4. 홈/조회/투표 경로가 분리 도메인 기준으로 동작하도록 응답 모델과 서비스 호출을 정리했습니다.

✅ 체크리스트

  • Reviewer에 팀원들을 선택했나요?
  • Assignees에 본인을 선택했나요?
  • 컨벤션에 맞는 Type을 선택했나요?
  • Development에 이슈를 연동했나요?
  • Merge 하려는 브랜치가 올바르게 설정되어 있나요?
  • 컨벤션을 지키고 있나요?
  • 로컬에서 실행했을 때 에러가 발생하지 않나요?
  • 팀원들에게 PR 링크 공유를 했나요?

📸 스크린샷

홈/상세 조회 API 응답 구조 변경 확인

퀴즈/투표/배틀 투표 API 분리 확인

(Swagger/Postman/JUnit 캡처 첨부)

💬 리뷰 요구사항

도메인 경계(Battle/Quiz/Poll/Vote)와 레거시 제거 영향 범위를 중심으로 리뷰 부탁드립니다.

📝 작업 내용

[Breaking Change]

내용 파일
Battle/Quiz/Poll 도메인 분리 domain/battle/**, domain/quiz/**, domain/poll/**
Vote 행위 분리(BattleVote/QuizVote/PollVote) domain/vote/**
조회/응답 구조 정리 domain/home/**, domain/search/**, domain/recommendation/**

[Remove]

내용 파일
BattleType 제거 BattleType.java
단일 Vote 엔티티/서비스 제거 Vote.java, VoteRepository.java, VoteService*.java

@jucheonsu jucheonsu self-assigned this Apr 11, 2026
@jucheonsu jucheonsu added the 💥 Breaking Change (중대 변경) 커다란 API 변경이 있을 때 사용합니다. label Apr 11, 2026
@jucheonsu jucheonsu linked an issue Apr 11, 2026 that may be closed by this pull request
3 tasks
Copy link
Copy Markdown
Contributor

@si-zero si-zero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

승인했습니다.

@jucheonsu jucheonsu force-pushed the breaking/#140 branch 2 times, most recently from e864407 to dc48104 Compare April 11, 2026 14:13
@jucheonsu jucheonsu merged commit afd2152 into dev Apr 11, 2026
@jucheonsu jucheonsu deleted the breaking/#140 branch April 11, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💥 Breaking Change (중대 변경) 커다란 API 변경이 있을 때 사용합니다.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

💥 Breaking Change: Battle/Quiz/Poll 도메인 분리 및 Vote 도메인 재편

2 participants