Conversation
📝 WalkthroughWalkthroughThis PR introduces landmark category support throughout the application stack. A new LandmarkCategory enum is added with values SUBWAY, RESTAURANT, CAFE, and TOUR_SPOT. The Kakao map client now extracts category information from API responses via a mapping helper and includes it in domain objects. PlaceFacade implements priority-based sorting to prioritize subway landmarks during administrative region searches. Changes
Sequence Diagram(s)sequenceDiagram
participant KakaoAPI as Kakao Map API
participant Client as KakaoMapClient
participant Code as KakaoCategoryCode
participant Repo as LandmarkRepository
participant Facade as PlaceFacade
KakaoAPI->>Client: Return KakaoPlaceDocument<br/>with categoryGroupCode
Client->>Code: toLandmarkCategory()
Code->>Code: CODE_MAP lookup
Code-->>Client: LandmarkCategory
Client->>Repo: Save NewLandmark<br/>with category
Repo->>Repo: Store in LandmarkEntity
Facade->>Repo: Query landmarks<br/>in region
Repo-->>Facade: List of Landmark<br/>with categories
Facade->>Facade: Sort by<br/>LANDMARK_CATEGORY_PRIORITY
Facade->>Facade: Limit to<br/>MAX_LANDMARK_SEARCH_COUNT
Facade-->>Facade: Prioritized results
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 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 |
🌱 관련 이슈
📌 작업 내용 및 특이 사항
📝 참고
📌 체크 리스트
Summary by CodeRabbit