-
Notifications
You must be signed in to change notification settings - Fork 1
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
닉네임 중복 검사 기능 구현 #55
닉네임 중복 검사 기능 구현 #55
Conversation
📝 Jacoco Test Coverage
|
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.
이메일 중복과 로직이 비슷해서 금방 코드리뷰 할 수 있었네요!
고생 많으셨습니다 ❤️🔥
String longNickname = faker.lorem() | ||
.characters(User.MAX_NICKNAME_LENGTH + 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.
👍
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.
코드 깔끔하게 잘 짜주셔서 금방 봤네유! 상수 설정만 몇 개 코멘트 남겨둡니다!
🥰
public record CheckNicknameRequest( | ||
@NotBlank(message = "닉네임을 입력해주세요.") | ||
@Size(max = 20, message = "닉네임은 20자 이하여야 합니다.") | ||
String nickname |
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.
저 "20자"도 MAX_NICKNAME_LENGTH 적용해주면 좋을 것 같습니다!
@@ -14,7 +14,7 @@ public record SignUpRequest( | |||
@Pattern(regexp = Password.PASSWORD_REGXP, message = "비밀번호는 8자 이상이며 영문, 숫자, 특수문자를 포함해야 합니다.") | |||
String password, | |||
@NotBlank(message = "닉네임을 입력해주세요.") | |||
@Length(max = 20, message = "닉네임은 20자 이하여야 합니다.") | |||
@Size(max = 20, message = "닉네임은 20자 이하여야 합니다.") |
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.
요기도 MAX_NICKNAME_LENGTH 설정해주면 좋을 것 같습니당!
📝 Jacoco Test Coverage
|
🎫 관련 이슈
Resolves #54
✅ 구현 내용
💬 코멘트
feat/#50-check-email-duplicate
브랜치에서 새로운 브랜치 따서 작업 했습니다!feat/#50-check-email-duplicate
가dev
에 머지되면feat/#54-check-nickname-duplicate
도 dev로 머지하겠습니당!