[SOU-636] 근처기념품 조회 시 찜 여부 null 오반환 수정#268
Merged
Merged
Conversation
- 찜한 기념품이 없는 로그인 유저도 emptySet으로 처리되어 isWishlisted가 false 대신 null로 반환되던 문제 수정 - SouvenirService: 비로그인 시 wishlistedIds를 emptySet → null로 변경 - SouvenirNearbyResponse: isEmpty() 체크 → null 체크로 변경하여 비로그인(null)과 찜 0개 로그인 유저(false)를 올바르게 구분
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
Walkthrough사용자 인증 검증 강화 및 위시리스트 상태 표현 정규화. GeneralRecommendationService의 토큰 파싱에서 userId를 데이터베이스 조회로 검증하고, SouvenirService의 비로그인 케이스에서 null을 전달하며, SouvenirNearbyResponse의 empty 컬렉션을 null이 아닌 false로 반환하도록 통일함. SouvenirServiceTest로 주요 동작을 검증함. Changes사용자 인증 및 위시리스트 처리
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by CodeRabbit
릴리스 노트
Bug Fixes
Tests