-
Notifications
You must be signed in to change notification settings - Fork 0
패키지 리뷰 기능 추가 #18
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
패키지 리뷰 기능 추가 #18
Conversation
gustj3104
left a comment
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.
스웨거 도입 확인했습니다!
BaseEntity(CreatedAt, UpdatedAt, DeletedAt), Custom 예외처리는 추후에 작업하는 걸까요? 아니면 작성하신 것처럼 텍스트 메시지로 처리하는 게 나을까요?
| require(packageRepository.existsById(packageId)) { "Package $packageId does not exist." } | ||
| return packageRepository.getReferenceById(packageId) |
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.
findById로 DB 1회만 조회하는 방식은 어떤가요?
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.
엇 두 번 조회하고 있었네요 확인했습니다!
pr 메시지에 대해선 추후 작업해도 괜찮을 것 같아서 일단은 기본 예외를 썼습니다!
📄 작업 내용
패키지 리뷰 관련한 CRUD 기능을 추가 했습니다.
PackageReviewApi에 스웨거를 추가했으니 작업하실 때 참고 부탁드릴게요!
브랜치를 이미지 브랜치에서 파서 이미지 코드가 일부 섞여있는데, 해당 부분은 무시해주세요!
실제 커밋 범위
🙋🏻 이슈 / 궁금증 / 추가사항
close #15