Conversation
|
Caution Review failedThe pull request is closed. 워크스루애플리케이션 사용자 API에 Department 도메인 기능을 통합합니다. 새로운 DepartmentNotFoundException을 정의 및 전역 처리하며, WaitingService를 강화하여 부서 정보를 조회하고 응답에 포함합니다. 변경사항
시퀀스 다이어그램sequenceDiagram
participant Client
participant WaitingService
participant StoreRepository
participant DepartmentRepository
participant Database
Client->>WaitingService: getWaitingCount(storeId)
WaitingService->>StoreRepository: findById(storeId)
StoreRepository->>Database: SELECT store WHERE id = ?
Database-->>StoreRepository: Store
StoreRepository-->>WaitingService: Store
WaitingService->>DepartmentRepository: findById(store.departmentId)
DepartmentRepository->>Database: SELECT department WHERE id = ?
Database-->>DepartmentRepository: Department
DepartmentRepository-->>WaitingService: Department
WaitingService->>WaitingService: Build GetWaitingSizeResponse<br/>(storeId, waitingCount,<br/>storeName, departmentName)
WaitingService-->>Client: GetWaitingSizeResponse
예상 코드 리뷰 난이도🎯 3 (중간) | ⏱️ ~20분 관련 가능성 있는 PR
제안 리뷰어
✨ Finishing touches
🧪 Generate unit tests (beta)
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. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
작업 요약
학과 정보 및 주점 정보 필드 추가
Issue Link
문제점 및 어려움
해결 방안
Reference
Summary by CodeRabbit
릴리스 노트
새로운 기능
버그 수정
✏️ Tip: You can customize this high-level summary in your review settings.