Conversation
|
""" WalkthroughThis change refactors participant retrieval logic throughout the codebase. The previous approach, which involved methods returning null or requiring explicit null checks, is replaced by a consistent use of Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant Facade
participant ParticipantService
participant Repository
Client->>Facade: getParticipant(userId, festivalId)
Facade->>ParticipantService: getParticipantOrThrow(user, festival)
ParticipantService->>Repository: findByUserAndFestival(user, festival)
alt Participant found
Repository-->>ParticipantService: Participant
ParticipantService-->>Facade: Participant
Facade-->>Client: Participant
else Participant not found
Repository-->>ParticipantService: null
ParticipantService-->>Facade: throw FestimateException
Facade-->>Client: Exception
end
Assessment against linked issues
Possibly related PRs
Suggested labels
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (1)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Test Results40 tests 40 ✅ 1s ⏱️ Results for commit 630e99e. ♻️ This comment has been updated with latest results. |
📌 PR 제목
[fix] #107 참가자 조회 시 null 반환 제거 및 예외 처리 방식 통일
📌 PR 내용
🛠 작업 내용
🔍 관련 이슈
Closes #107
📸 스크린샷 (Optional)
📚 레퍼런스 (Optional)
N/A
Summary by CodeRabbit