Skip to content

Conversation

@sosow0212
Copy link
Contributor

@sosow0212 sosow0212 commented Dec 7, 2025

📄 작업 내용

패키지 리뷰 관련한 CRUD 기능을 추가 했습니다.

PackageReviewApi에 스웨거를 추가했으니 작업하실 때 참고 부탁드릴게요!

브랜치를 이미지 브랜치에서 파서 이미지 코드가 일부 섞여있는데, 해당 부분은 무시해주세요!

실제 커밋 범위

🙋🏻 이슈 / 궁금증 / 추가사항

close #15

@sosow0212 sosow0212 requested a review from gustj3104 December 7, 2025 06:23
@sosow0212 sosow0212 self-assigned this Dec 7, 2025
@sosow0212 sosow0212 added the feat 기능 추가 label Dec 7, 2025
@sosow0212 sosow0212 changed the base branch from develop to feat/13 December 7, 2025 06:24
@sosow0212 sosow0212 changed the base branch from feat/13 to develop December 7, 2025 06:24
Copy link
Contributor

@gustj3104 gustj3104 left a 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 예외처리는 추후에 작업하는 걸까요? 아니면 작성하신 것처럼 텍스트 메시지로 처리하는 게 나을까요?

Comment on lines 44 to 45
require(packageRepository.existsById(packageId)) { "Package $packageId does not exist." }
return packageRepository.getReferenceById(packageId)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

findById로 DB 1회만 조회하는 방식은 어떤가요?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

엇 두 번 조회하고 있었네요 확인했습니다!
pr 메시지에 대해선 추후 작업해도 괜찮을 것 같아서 일단은 기본 예외를 썼습니다!

@sosow0212 sosow0212 merged commit d2b080a into develop Dec 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat 기능 추가

Projects

None yet

Development

Successfully merging this pull request may close these issues.

리뷰 도메인 생성

3 participants