Conversation
- RecruitmentStatus -> ClubRecruitmentStatus로 이름 변경
- ClubDescriptionUpdateRequest -> ClubRecruitmentInfoUpdateRequest
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Test Results1 tests 1 ✅ 0s ⏱️ Results for commit 802de75. ♻️ This comment has been updated with latest results. |
| objectId = new ObjectId(clubId); | ||
| } catch (IllegalArgumentException e){ | ||
| throw new RestApiException(ErrorCode.CLUB_ID_INVALID); | ||
| } |
There was a problem hiding this comment.
ObjectId 예외처리하는 부분이 이곳 말고도 있는걸로 아는데 메서드로 추출해서 처리하는건 어떨까요?
| @SecurityRequirement(name = "BearerAuth") | ||
| public ResponseEntity<?> createClub(@CurrentUser CustomUserDetails user, | ||
| @RequestBody ClubCreateRequest request) { | ||
| public ResponseEntity<?> createClub(@RequestBody ClubCreateRequest request) { |
There was a problem hiding this comment.
createClub에는 @currentuser가 제거되고 updateClubInfo에는 추가된 이유가 있을까요?
There was a problem hiding this comment.
createClub에서 user를 사용할 필요가 없다고 생각해서 제거했습니다. 클럽을 만들 때, 지금 접속한 유저의 정보는 필요하지 않기 때문입니다.
updateClubInfo에 생긴 이유는 자기가 소유한 클럽만 update할 수 있도록 제한을 두었습니다.
#️⃣연관된 이슈
#330
📝작업 내용
중점적으로 리뷰받고 싶은 부분(선택)
변경 사항이 꽤 많으니 자세히 봐주셨으면 좋겠습니다.