Skip to content

Conversation

@silver-eunjoo
Copy link
Collaborator

🛰️ Issue Number

🪐 작업 내용

스크린샷 2025-07-15 오전 10 37 39

퀴즈와 문제를 함께 조회해오는 API를 구현했습니다.

기존 API 명세서에서 questions의 question을 questions의 content로 수정했습니다.

📚 Reference

✅ Check List

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

@silver-eunjoo silver-eunjoo self-assigned this Jul 15, 2025
@silver-eunjoo silver-eunjoo added the enhancement New feature or request label Jul 15, 2025
@silver-eunjoo silver-eunjoo linked an issue Jul 15, 2025 that may be closed by this pull request
1 task
@silver-eunjoo silver-eunjoo requested review from LimKangHyun, dlsrks1021 and jiwon1217 and removed request for LimKangHyun and jiwon1217 July 15, 2025 02:01
Copy link
Collaborator

@LimKangHyun LimKangHyun left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!
은주님, 혹시 퀴즈와 문제함께 조회가 용도가 프론트로 프리로드하는 용도도 있을까요?

@silver-eunjoo
Copy link
Collaborator Author

고생하셨습니다! 은주님, 혹시 퀴즈와 문제함께 조회가 용도가 프론트로 프리로드하는 용도였을까요?

우선은 퀴즈 상세 모달에서 수정하기 눌렀을 때 불러올 용도로 생각했는데, 웹 소켓 명세서를 확인해보니까 프리로드용 문제를 /quizzes/{quizId} API로 불러온다고 했었네요.

이전 설계로는 그게 가능했는데, 저희가 지금은 정답은 빼버렸기도 하고, GAME_START의 형식이 지금 API Response랑 좀 다른 것 같은데, 다른 API를 하나 더 만들어야 할까요?

Copy link
Collaborator

@sehee123 sehee123 left a comment

Choose a reason for hiding this comment

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

몇시간만에 뚝딱! 만드셨네요 ㅎㅎ 수고하셨습니다 💨

public record QuizQuestionListResponse(
String title,
QuizType quizType,
Long creatorId,
Copy link
Collaborator

Choose a reason for hiding this comment

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

[L5-참고의견]
creatorId는 필수 값이어서 밑의 numberOfQuestion처럼 원시타입으로 통일해도 될 것 같습니다.

@LimKangHyun
Copy link
Collaborator

고생하셨습니다! 은주님, 혹시 퀴즈와 문제함께 조회가 용도가 프론트로 프리로드하는 용도였을까요?

우선은 퀴즈 상세 모달에서 수정하기 눌렀을 때 불러올 용도로 생각했는데, 웹 소켓 명세서를 확인해보니까 프리로드용 문제를 /quizzes/{quizId} API로 불러온다고 했었네요.

이전 설계로는 그게 가능했는데, 저희가 지금은 정답은 빼버렸기도 하고, GAME_START의 형식이 지금 API Response랑 좀 다른 것 같은데, 다른 API를 하나 더 만들어야 할까요?

정답없이 퀴즈와 문제를 내려주는 api를 하나 만들어야할 것 같습니다!

Copy link
Collaborator

@jiwon1217 jiwon1217 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다 !

@silver-eunjoo
Copy link
Collaborator Author

고생하셨습니다! 은주님, 혹시 퀴즈와 문제함께 조회가 용도가 프론트로 프리로드하는 용도였을까요?

우선은 퀴즈 상세 모달에서 수정하기 눌렀을 때 불러올 용도로 생각했는데, 웹 소켓 명세서를 확인해보니까 프리로드용 문제를 /quizzes/{quizId} API로 불러온다고 했었네요.
이전 설계로는 그게 가능했는데, 저희가 지금은 정답은 빼버렸기도 하고, GAME_START의 형식이 지금 API Response랑 좀 다른 것 같은데, 다른 API를 하나 더 만들어야 할까요?

정답없이 퀴즈와 문제를 내려주는 api를 하나 만들어야할 것 같습니다!

확인했습니다 ! API 명세에 하나 더 추가해서 만들도록 하겠습니다 :) 감사합니다 !

@silver-eunjoo silver-eunjoo merged commit 0ba0181 into dev Jul 15, 2025
2 checks passed
@silver-eunjoo silver-eunjoo deleted the feat/37 branch July 15, 2025 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] 문제와 함께 퀴즈 조회 API 구현

6 participants