-
Notifications
You must be signed in to change notification settings - Fork 0
Develop #91
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
Develop #91
Conversation
Walkthrough보안 설정이 수정되어 "/tags" 엔드포인트에 대한 GET 요청이 인증 없이 허용되었습니다. 또한, Changes
Poem
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
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.
Actionable comments posted: 0
🧹 Nitpick comments (1)
src/main/java/com/example/FixLog/dto/post/MyPostPageResponseDto.java (1)
30-30: null 안전성 검사 추가 권장닉네임 필드가 올바르게 설정되고 있지만,
post.getUserId()가 null을 반환할 가능성이 있는지 확인해 주세요. NPE 방지를 위해 null 검사를 추가하는 것을 고려해보세요.다음과 같이 null 안전성을 개선할 수 있습니다:
- .nickname(post.getUserId().getNickname()) + .nickname(post.getUserId() != null ? post.getUserId().getNickname() : "")또는 Optional을 사용하여:
- .nickname(post.getUserId().getNickname()) + .nickname(Optional.ofNullable(post.getUserId()).map(User::getNickname).orElse(""))
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
src/main/java/com/example/FixLog/config/SecurityConfig.java(1 hunks)src/main/java/com/example/FixLog/dto/post/MyPostPageResponseDto.java(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: build
🔇 Additional comments (2)
src/main/java/com/example/FixLog/config/SecurityConfig.java (1)
40-40: 태그 엔드포인트에 대한 공개 접근 허용 확인"/tags" 엔드포인트에 대한 GET 요청을 인증 없이 허용하는 변경사항이 올바르게 구현되었습니다. 이 변경사항이 의도된 것인지, 그리고 태그 정보를 공개적으로 노출하는 것에 보안상 문제가 없는지 확인해 주세요.
src/main/java/com/example/FixLog/dto/post/MyPostPageResponseDto.java (1)
25-25: 닉네임 필드 추가 확인DTO에 닉네임 필드가 올바르게 추가되었습니다.
이슈 번호
작업 내용
기타
Summary by CodeRabbit
신규 기능
버그 수정