-
Notifications
You must be signed in to change notification settings - Fork 0
[RELEASE] v2.1.6 로그인 NPE 에러 핸들링 추가 및 유저 email unique 제약 제거 #335
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
Conversation
* feat: NPE관련 로깅 추가 * refactor: email unique제약 조건 제거 --------- Co-authored-by: 나용준 <141994188+youngJun99@users.noreply.github.com>
Summary of ChangesHello @yongjun0511, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 PR은 Apple 로그인 과정의 안정성을 높이기 위해 ID 토큰 파싱 시 발생할 수 있는 NullPointerException을 효과적으로 처리하는 로직을 도입합니다. 또한, 사용자 이메일 필드의 고유성 제약을 해제하여 시스템의 유연성을 확보하고, 향후 사용자 관리 정책 변경에 대비합니다. 전반적으로 시스템의 견고성과 확장성을 개선하는 데 중점을 둡니다. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. 코드 속 널(null)은 늘 위험한 손님, 이메일 제약 풀려 자유로운 바람. 로그인 안정성, 이제 더욱 굳건히, 새로운 길 열어, 시스템은 발전하네. Footnotes
|
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 Review
이번 PR은 애플 로그인 시 발생할 수 있는 NPE를 방지하기 위한 핸들링 로직을 추가하고, 이메일의 unique 제약 조건을 제거하는 변경 사항을 포함하고 있습니다. 전반적으로 PR의 목적에 맞게 코드가 잘 수정되었습니다. 다만, 몇 가지 개선할 점이 있어 리뷰 코멘트를 남깁니다. 특히, 스타일 가이드에 맞지 않는 와일드카드 import와 잘못된 위치의 예외 처리 블록에 대한 수정이 필요해 보입니다.
| import java.util.Map; | ||
|
|
||
| import static ssu.eatssu.global.handler.response.BaseResponseStatus.INVALID_IDENTITY_TOKEN; | ||
| import static ssu.eatssu.global.handler.response.BaseResponseStatus.*; |
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는 지양해야 합니다. 사용되는 모든 클래스를 명시적으로 import 해주세요.
| import static ssu.eatssu.global.handler.response.BaseResponseStatus.*; | |
| import static ssu.eatssu.global.handler.response.BaseResponseStatus.INVALID_IDENTITY_TOKEN; | |
| import static ssu.eatssu.global.handler.response.BaseResponseStatus.NOT_FOUND_EMAIL; | |
| import static ssu.eatssu.global.handler.response.BaseResponseStatus.NOT_FOUND_PROVIDER_ID; |
References
- 리포지토리 스타일 가이드 3번 규칙은 라이브러리를 import할 때 와일드카드 사용을 금지하고 있습니다. (link)
No description provided.