-
Notifications
You must be signed in to change notification settings - Fork 0
refactor: reservation Exception 위치 변경 #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Caution Review failedThe pull request is closed. Walkthrough이번 변경에서는 예약이 존재하지 않을 때 발생하는 예외 처리 방식을 개선하였습니다. 새로운 Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant ReservationService
participant ReservationRepository
Client->>ReservationService: updateReservationStatus(reservationId, status)
ReservationService->>ReservationRepository: findById(reservationId)
alt 예약 존재
ReservationRepository-->>ReservationService: Reservation 객체 반환
ReservationService->>ReservationService: 상태 업데이트 및 저장
ReservationService-->>Client: 처리 결과 반환
else 예약 미존재
ReservationRepository-->>ReservationService: null 반환
ReservationService->>Client: ReservationNotFoundException throw
end
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
✨ Finishing Touches
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. 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 (
|
작업 요약
reservation Exception 위치 변경
Issue Link
#36
문제점 및 어려움
해결 방안
Reference
Summary by CodeRabbit
신규 기능
버그 수정