-
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
깃허브 로그인 #92
깃허브 로그인 #92
Conversation
public ProviderType from(String provider)
📝 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.
어려운 OAuth2 적용해주시느라 고생많으셨습니다! 많이 배워가용!! :)
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.
오늘 제 PR도 그랬는데 요 부분 배포 할 때 한 번 RDS 비우고 해야될 것 같네유!
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.
헉 그렇네용..! 아니면 Flyway 버전 업해서 사용해 보겠습니당!
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.
헉 그렇네용! 감사합니당🙇🏻♀️🙇🏻♀️
@@ -121,7 +121,7 @@ class 회원가입_테스트 { | |||
|
|||
// then | |||
assertThatExceptionOfType(IllegalArgumentException.class).isThrownBy(signup) | |||
.withMessage("유효하지 않은 이메일 형식입니다."); |
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 static final int MAX_EMAIL_LENGTH = 50; | ||
public static final int MAX_INTRODUCTION_LENGTH = 100; | ||
public static final int MAX_JOB_LENGTH = 30; | ||
public static final int MAX_CAREER_LENGTH = 30; |
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.
요 부분 제 PR 머지되면서 src/main/java/sixgaezzang/sidepeek/users/util/UserConstant.java
에 정의된 것들이 있습니다! 참고해주시면 감사하겠습니당! 🧚♀️
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.
👍 빈 설정 좋습니다!!!
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.
러닝커브가 높았을 것 같은데... 정말 고생 많으셨습니다..! ❤️🔥
GOOGLE; | ||
|
||
public static ProviderType from(String provider) { | ||
String upperCaseProvider = provider.toUpperCase(); |
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.
소문자로 들어올 경우도 고려하시다니..! 꼼꼼하시네요! 👀 ✨
import lombok.extern.slf4j.Slf4j; | ||
import sixgaezzang.sidepeek.users.domain.User; | ||
|
||
@Slf4j |
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.
자꾸 개발하다 로깅하고 삭제하는걸 까먹네용.. 감사합니당!! 🦅👀✨
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.
42d4f21 반영 완료 했습니당😉
this.isRegistrationComplete = | ||
isNull(isRegistrationComplete) ? false : isRegistrationComplete; |
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.
this.isRegistrationComplete = | |
isNull(isRegistrationComplete) ? false : isRegistrationComplete; | |
this.isRegistrationComplete = isRegistrationComplete; |
스키마에서 isRegistrationComplete
이 NOT NULL로 설정되어 있기 때문에, NULL이 들어올 수 없는 거 아닌가요?
Default가 false로 설정되어 있기 때문에, 아래와 같이 기본적으로 false로 설정될 수 있도록 하는 건 어떠신가요?
public static final Boolean DEFAULT_IS_REGISTRATION_COMPLETE = false;
@Column(name = "is_registration_complete", nullable = false, columnDefinition = "TINYINT")
private boolean isRegistrationComplete = DEFAULT_IS_REGISTRATION_COMPLETE;
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.
f262013 반영 완료 했습니당😉
UserSummary user | ||
) { | ||
|
||
public static SocialLoginResponse of(LoginResponse loginResponse, AuthProvider authProvider) { |
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.
여러개의 매개 변수라면 메서드 이름이 from
이 아니라 of
가 맞겠네요..! 잊고 있었는데... 감사합니다 👍
저도 수정해야겠네요..!
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.
메서드 분리를 너무 잘하셔서 코드가 깔끔하네요..! 👍
📝 Jacoco Test Coverage
|
📝 Jacoco Test Coverage
|
🎫 관련 이슈
Fixes #1
✅ 구현 내용
💬 코멘트