-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat : 예매대기 등록 API application layer 구현 #32
Conversation
🦞 Test Coverage Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
생성자에서 각 부분 검증로직 잘 구현하신 것 같아요!! 꼼꼼하게 다 잘 하신듯 👍🏻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
도메인 단위테스트도 각 예외까지 꼼꼼히 작성하신거 굿!!! 👍🏻👍🏻
WaitingBooking waitingBooking = WaitingBooking.of(user, request.seatCount(), request.seatIds()); | ||
waitingBookingRepository.save(waitingBooking); | ||
|
||
return waitingBooking; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
왜 반환형이 waitingBooking인지 궁금합니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아 밑에 WaitingBookingFascade 보고 바로 이해했습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
예약대기 시 UserService 를 가져와야 해서 fascade 패턴을 이용하셨군요!
너무 잘 구현하신 것 같아요 굿굿~!!
🦞 Test Coverage Report
|
퍼사드 패턴을 활용한 게 깔끔한 레이어를 유지해준 것 같아서 좋습니다! |
* feat: ValidationException 정의 * fix: User 엔티티 기본 생성자 public 으로 전환 * feat: WaitingBookingErrorCode 정의 * feat: WaitingBooking 생성로직 구현 * feat: 예매대기 등록 API 요청, 응답 DTO 구현 * feat: 예매대기 엔티티 생성 서비스로직 구현 * feat: 예매대기 등록 퍼사드로직 구현
📄 무엇을 개발했나요?
🍸 무엇을 집중적으로 리뷰해야할까요?