feature/draft: 드래프트 웹소켓 dto수정 - #135
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughDraftRequest DTO에 userName 필드가 추가되었고, DraftService에서 selectPlayer와 selectRandomPlayer 실행 시 Participant의 이름을 DraftRequest.userName에 설정하여 퍼블리시되는 메시지 페이로드에 포함되도록 수정되었습니다. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Client
participant Controller
participant DraftService
participant ParticipantRepo as ParticipantRepository
participant Redis as Redis Pub/Sub
Client->>Controller: 선수 선정/랜덤 선정 요청
Controller->>DraftService: DraftRequest 전달
DraftService->>ParticipantRepo: participantId로 사용자 조회
ParticipantRepo-->>DraftService: Participant(name 등)
Note right of DraftService: DraftRequest.userName = Participant.name 설정
DraftService->>Redis: DraftRequest 퍼블리시 (userName 포함)
Redis-->>Client: 구독자에게 업데이트 브로드캐스트
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
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 Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (2)
✨ 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