-
Notifications
You must be signed in to change notification settings - Fork 8
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
Feat/#195 auth user provider #199
Conversation
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👍🏻
lib/main.dart
Outdated
routerConfig: router, | ||
); | ||
return Provider( | ||
create: (context) => getIt<UserProvider>(), |
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 사용하려면 provider를 불러와서 사용하면 될까요?
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.
@NalaJang email만 사용 가능합니다!
buttonText: '둘러보기', | ||
onPressedCheck: () => RouterStatic.goToHome(context), | ||
buttonText: '확인', | ||
onPressedCheck: () => RouterStatic.goToSignIn(context), |
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.
@somarok 리뷰 반영하여 수정했습니다
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.
회원가입 후 로그인 처리 부분에 대한 코멘트 남겼습니다~
lib/main.dart
Outdated
routerConfig: router, | ||
); | ||
return Provider( | ||
create: (context) => getIt<UserProvider>(), |
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.
router.dart에서 주입하도록 해서, 일괄적으로 provider를 관리할 수 있도록 하는게 나을 것 같습니다
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.
@hoogom88 리뷰 반영하여 수정했습니다!
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👍
:: 최근 작업 주제 (하나 이상의 주제를 선택해주세요.)
:: 구현 목표 (해당 브랜치에서 구현하고자 하는 하나의 목표를 설정합니다.)
:: 구현 사항 설명 (작업한 내용을 상세하게 기록합니다.)
:: 성장 포인트 (해당 기능을 구현하며 고민했던 사항이나 새로 알게된 부분, 어려웠던 점 등을 작성합니다.)
:: 기타 질문 및 특이 사항
관련된 로직중 디버깅이 들어가면서 코드 수정이 많이 되었습니다.
2_1. => user 프로퍼티 및 필드 추가