Conversation
hotfix - deploy 수정
feat/draft: 드래프트 관련 수정
|
Caution Review failedThe pull request is closed. Walkthrough
Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User as 사용자
participant API as DraftController
participant Auth as SecurityContext
participant Svc as DraftService
participant Repo as Draft/Participant Store
participant Map as Participant.toDtoList
User->>API: GET /api/draft/{draftId}/participants
API->>Auth: 인증 사용자 조회(@AuthenticationPrincipal)
Auth-->>API: CustomUserDetails(userEmail)
API->>Svc: getParticipantsByDraftId(draftId, userEmail)
Svc->>Repo: 드래프트 및 참가자 조회
Repo-->>Svc: List<Participant>
Svc->>Map: toDtoList(participants, userEmail)
Map-->>Svc: List<DraftParticipant{..., userFlag}]
Svc-->>API: List<DraftParticipant>
API-->>User: 200 OK (JSON)
note over Map,User: userEmail 일치 시 해당 항목의 userFlag=true
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (7)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit