refactor(Bookmark): Bookmark 응답 response 변경#157
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughBookmarkService의 getBookmarks 메서드가 북마크 엔티티에서 직접 DTO를 생성하던 기존 방식에서, StoreService를 통해 storeId 목록에 해당하는 StorePageReadDto 리스트를 반환하도록 변경되었습니다. 이를 위해 StoreService 및 StoreRepository에 관련 메서드가 추가되었습니다. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant BookmarkService
participant StoreService
participant StoreRepository
participant Redis
participant ImageRepository
participant DepartmentRepository
User->>BookmarkService: getBookmarks(customOAuth2User)
BookmarkService->>StoreService: getAllStoresByPageAndDeparments(storeIds)
StoreService->>StoreRepository: findAllByStoreIdInOrderByStoreIdAsc(storeIds)
StoreService->>Redis: getWaitingCount(storeId)
StoreService->>ImageRepository: findAllByStoreIdIn(storeIds)
StoreService->>DepartmentRepository: findAllByDepartmentIdIn(departmentIds)
StoreService-->>BookmarkService: List<StorePageReadDto>
BookmarkService-->>User: List<StorePageReadDto>
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~15–20 minutes Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
✨ Finishing Touches
🧪 Generate unit tests
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
CodeRabbit Configuration File (
|
작업 요약
Bookmark 응답 response 변경
Issue Link
#156
문제점 및 어려움
해결 방안
Reference
Summary by CodeRabbit
신규 기능
버그 수정