Skip to content

Conversation

@LimKangHyun
Copy link
Collaborator

@LimKangHyun LimKangHyun commented Jul 24, 2025

🛰️ Issue Number

Closes #115

🪐 작업 내용

  • 라운드 변경 시 questionCount 조회에 questionCount 쿼리 추가 및 적용

📚 Reference

✅ Check List

  • 코드가 정상적으로 컴파일되나요?
  • 테스트 코드를 통과했나요?
  • merge할 브랜치의 위치를 확인했나요?
  • Label을 지정했나요?

@LimKangHyun LimKangHyun self-assigned this Jul 24, 2025
@LimKangHyun LimKangHyun added the bug Something isn't working label Jul 24, 2025
@LimKangHyun LimKangHyun linked an issue Jul 24, 2025 that may be closed by this pull request
}

Quiz quiz = quizService.findQuizById(room.getQuizId());
Quiz quiz = quizService.getQuizWithQuestionsById(room.getQuizId());
Copy link
Collaborator

Choose a reason for hiding this comment

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

[L2-변경협의]
question의 내용이 필요한 것이 아니라 크기 값만 필요하다면, count 쿼리로 대체하는 것도 좋을 것 같습니다.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

퀴즈 변경 및 라운드 변경 시에, 변경되어야 하는 라운드 수를
quizService.getQuestionsCount를 사용해 GameSetting의 round를 바꾸도록 수정했습니다!

Copy link
Collaborator

@silver-eunjoo silver-eunjoo left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

@LimKangHyun LimKangHyun merged commit e9131e1 into dev Jul 25, 2025
silver-eunjoo pushed a commit that referenced this pull request Jul 25, 2025
* 🐛 fix: round 변경 시 question 조회에 fetch join 적용

* ♻️ refactor: questionCount만 찾는 쿼리로 변경 및 불필요한 퀴즈 아이디 조회 삭제

* chore: Java 스타일 수정

---------

Co-authored-by: github-actions <>
silver-eunjoo added a commit that referenced this pull request Jul 25, 2025
* ✨ feat : 게임 종료 로직 구현

* chore: Java 스타일 수정

* ✨ feat: 게임 종료 후 disconnected 참여자 정리

* 🔧 chore : 깃 충돌 해결

* chore: Java 스타일 수정

* ♻️ refactor : 게임 시작 시, 실시간 랭킹도 함께 SEND

* ♻️ refactor : 서비스 간의 순환참조 해결

* chore: Java 스타일 수정

* ♻️ refactor : 게임 종료 시 로직 변경

* chore: Java 스타일 수정

* 🔧 chore: 게임 종료 시 모든 메세지 브로드캐스팅하도록 변경

* chore: Java 스타일 수정

* 🐛 fix: index 예외, Lazy 예외 버그 수정

* chore: Java 스타일 수정

* ✨ [feat] 유저 닉네임으로 정보 조회 (#101)

* ✨ feat: 특정 닉네임이 포함된 유저 정보 조회 기능

* 🐛 fix: 닉네임 중복 확인 시 대소문자 구분하지 않음

* chore: Java 스타일 수정

---------

Co-authored-by: github-actions <>

* ♻️ refactor: 세션 타임아웃 값을 환경변수로 대치 (#105)

* 🔧 chore : 깃 충돌 해결

* 🔧 chore : 깃 충돌 해결

* ♻️ refactor: 랭킹 조회 Redis 적용 (#111)

* ✨ feat: GameSetting 변경 기능 추가 (#107)

* ✨ feat: 게임 설정 변경 인터페이스 및 구현체 추가
- GameSettingChanger 인터페이스 도입

* chore: Java 스타일 수정

* ✨ feat: 게임 설정 변경 기능 추가

* chore: Java 스타일 수정

* 🚚 move: 소켓 요청 DTO request 디렉토리로 이동

* 🚚 move: 소켓 요청 DTO 경로 변경

* chore: Java 스타일 수정

* ♻️ refactor: 게임 세팅 요청 후처리 분리

* chore: Java 스타일 수정

* ♻️ refactor: 코드 리뷰 반영

* chore: Java 스타일 수정

* 🗑️ remove: 불필요 코드 삭제

* chore: Java 스타일 수정

* ♻️ refactor: isHost 원상복구

* ♻️ refactor: QuizChangeRequest, RoundChangeRequest 타입 수정

* 🔧 chore: RoomUpdatedEventListener, RoomDeletedEventListener 빈 등록

* chore: Java 스타일 수정

* chore: Java 스타일 수정

* ♻️ refactor: player 조회 메서드 추가

---------

Co-authored-by: github-actions <>

* 🐛 fix: 라운드 변경 시 question개수 조회에 fetch join 적용 (#116)

* 🐛 fix: round 변경 시 question 조회에 fetch join 적용

* ♻️ refactor: questionCount만 찾는 쿼리로 변경 및 불필요한 퀴즈 아이디 조회 삭제

* chore: Java 스타일 수정

---------

Co-authored-by: github-actions <>

* chore: Java 스타일 수정

* chore: Java 스타일 수정

* 🔧 chore : 테스트 코드 통과

* chore: Java 스타일 수정

---------

Co-authored-by: github-actions <>
Co-authored-by: Jiwon Kwak <[email protected]>
Co-authored-by: dlsrks1021 <[email protected]>
Co-authored-by: kanghyun <[email protected]>
@LimKangHyun LimKangHyun deleted the fix/115 branch July 28, 2025 05:05
@LimKangHyun LimKangHyun changed the title [fix] 라운드 변경 시 question 조회에 fetch join 적용 [fix] 라운드 변경 시 question 조회에 join 적용 Aug 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fix] 게임 세팅 라운드 변경 기능 fetch join으로 변경

6 participants