[FIX] User 엔티티 후속 보완#38
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughUser 프로필 이미지 정책과 StudentInstrument 인덱스를 보완하고, Subscription을 Changes사용자 도메인 보완
구독 도메인 보완
Estimated code review effort: 3 (Moderate) | ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
ownue
left a comment
There was a problem hiding this comment.
이전에 별도로 리뷰했던 부분들이 잘 반영된 것 같습니다! 성능과 예외 케이스를 잘 고려해서 작성하셨네요!! 수고 많으셨어요~ ><///
rkdehdrbs7885-oss
left a comment
There was a problem hiding this comment.
인덱스와 검증 로직을 추가한 점 좋은 것 같습니다!
📍 개요
⛓️💥 관련 이슈
🛠️ 작업 내용
User.profileImgUrl이 null/blank로 들어올 경우GeneralException(UserErrorStatus.PROFILE_IMAGE_REQUIRED)를 던지도록 필수값 검증 추가StudentInstrument에instrument_id단독 인덱스 추가 (기존(student_id, instrument_id)복합 UNIQUE는 유지, 악기 기준 단독 조회 성능을 위함)app.profile.default-image-url) 추가🔥 리뷰 요청 사항
profileImgUrl검증 위치와 방식이 적절한지instrument_id단독 인덱스 추가가 맞는 방향인지 (student_id는 복합 UNIQUE 선두 컬럼이라 별도 인덱스 안 만들었습니다)✅ 체크리스트
📎 참고 사항
Summary by CodeRabbit