-
Notifications
You must be signed in to change notification settings - Fork 8
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
[BE] JWT 토큰을 통해 자신의 스케줄을 조회할 수 있는 기능 추가 #99
Conversation
Test Results47 tests 47 ✅ 4s ⏱️ Results for commit 82b24c8. ♻️ This comment has been updated with latest results. |
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.
좋아요😃
private void createAttendeeSchedule(Attendee attendee) { | ||
List<Schedule> schedules = new ArrayList<>(); | ||
schedules.add(new Schedule(attendee, today, Timeslot.TIME_0300)); | ||
schedules.add(new Schedule(attendee, today, Timeslot.TIME_0400)); | ||
schedules.add(new Schedule(attendee, today, Timeslot.TIME_0500)); | ||
schedules.add(new Schedule(attendee, tomorrow, Timeslot.TIME_1600)); | ||
schedules.add(new Schedule(attendee, tomorrow, Timeslot.TIME_1700)); | ||
schedules.add(new Schedule(attendee, tomorrow, Timeslot.TIME_1300)); | ||
scheduleRepository.saveAll(schedules); | ||
} |
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.
좋은데요~
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.
기능 구현과 테스트가 깔끔하게 작성되었네요. 고생했어요 재즈~👍
Meeting meeting = meetingRepository.findByUuid(uuid) | ||
.orElseThrow(() -> new MomoException(MeetingErrorCode.NOT_FOUND_MEETING)); | ||
|
||
Attendee attendee = attendeeRepository.findByIdAndMeeting(attendeeId, meeting) | ||
.orElseThrow(() -> new MomoException(AttendeeErrorCode.NOT_FOUND_ATTENDEE)); | ||
|
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.
나중에 Attendee
와 Meeting
이 일치하는지 여부는 도메인의 책임으로 넘기면 좋을 것 같아요!
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.
추후 코드를 깔끔하게 갈고 닦아봅시다 ✈
7c1da61
to
82b24c8
Compare
관련 이슈
작업 내용
특이 사항
리뷰 요구사항 (선택)