-
Notifications
You must be signed in to change notification settings - Fork 2
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
[OING-343] refactor: 가족 이름 컬럼 타입 및 검증 로직 수정 #267
Conversation
} | ||
|
||
private void validateFamilyName(String familyName) { | ||
if ((familyName.codePoints().count() > 10) || familyName.isBlank()) { | ||
if ((familyName.codePoints().count() > 9) || familyName.isBlank()) { |
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.
회원 닉네임 로직처럼 사용자가 띄어쓰기 하나만 입력하면 예외던지도록 유지했습니다
Code 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.
전체적으로 문제없는데, 머지된 코드 중에 잘못된 변수명이 있어서 이것만 확인부탁드려요
@@ -94,18 +86,15 @@ public void resetScore() { | |||
} | |||
|
|||
public void updateFamilyName(String familyName, String loginFamilyId) { |
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.
변수명이 잘못된 것 같아요. 기능상 수정 멤버 id가 들어가야하고 Service에서도 loginMemberId를 넣고있네요. 확인부탁드려요!
family.updateFamilyName(familyName, loginMemberId); |
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.
아 그러네요! 확인 감사합니다. 👍
Quality Gate passedIssues Measures |
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.
LGTM!
❓ 기능 추가 배경
family_name
컬럼을 아홉자까지 허용하도록 수정하고familyName
을 초기화해도 수정자가 기록되도록 수정했습니다.➕ 추가/변경된 기능
family_name
컬럼을 아홉자까지 허용familyName
을 초기화해도 수정자가 기록되도록 수정🥺 리뷰어에게 하고싶은 말
확인해주세요~
🔗 참조 or 관련된 이슈
https://no5ing.atlassian.net/browse/OING-343