[DABOM-509] MissionCardResponse 응답에 requestId 추가 및 조회 로직 추가 - #131
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 PR은 미션 목록 카드 응답의 기능을 확장하여, 진행 중인 완료 요청(PENDING 상태)을 식별할 수 있도록 Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
안녕하세요. 미션 목록 응답에 requestId를 추가하고 관련 조회 로직을 구현하신 PR 잘 보았습니다. PENDING 상태의 요청 ID를 식별할 수 있게 되어 클라이언트에서 활용도가 높아질 것 같습니다.
코드 변경 사항에 대해 몇 가지 개선점을 제안드립니다.
MissionServiceImpl에서 미션 요청 상태와 ID를 가져오기 위해 두 번의 데이터베이스 조회가 발생하고 있습니다. 이를 하나의 쿼리로 통합하여 성능을 개선할 수 있습니다.MissionRequestRepository에 추가된 쿼리 메소드는 Spring Data JPA의 이름 기반 쿼리 생성 기능으로 대체할 수 있어, 코드를 더 간결하게 만들 수 있습니다.
자세한 내용은 각 파일의 인라인 코멘트를 참고해주세요. 감사합니다.
SonarQube Quality Summary (Community)✅ Quality Gate PASSED Branch: Issues
Measures
🔗 Dashboard: https://sonarqube.swthewhite.store/dashboard?id=dabom-api-core&branch=feat/DABOM-509 Generated automatically by GitHub Actions. |
🍀 이슈 & 티켓 넘버
🎯 목적
미션 목록 카드 응답에서 진행 중인 완료 요청을 식별할 수 있도록
PENDING상태의MissionRequest.id를 함께 내려주기 위함📝 변경 사항
MissionCardResponse에requestId필드 추가requestStatus는 기존대로 유지하고,PENDING요청의requestId만 별도 조회하도록 분리📂 변경 범위
🖥️ 주요 코드 설명
💬 리뷰어에게
미션 목록의 requestStatus는 기존 의미를 유지하고, requestId만 PENDING 요청 기준으로 추가했습니다.
📋 체크리스트
기본
./gradlew build가 정상적으로 통과하는가?./gradlew spotlessApply checkstyleMain)코드 품질
Controller → Service → Repository → Entity)@Transactional은 Service에만 선언했는가?테스트
📌 참고 사항