feat: 제휴 가게 지도 URL 필드 추가#422
Conversation
Summary of ChangesHello, 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은 제휴 가게 정보에 네이버 및 카카오 지도 URL을 제공하기 위한 기능을 구현합니다. 데이터베이스 스키마 변경과 API 응답 구조 개선을 통해 지도 연동을 위한 기반을 마련하였으며, 안정적인 데이터 매핑을 위해 단위 테스트를 추가하였습니다. Highlights
New Features🧠 You can now enable Memory (public preview) 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 the 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 counterproductive. 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. 지도 위에 점을 찍어, 가게 위치 찾기 쉽네. 네이버 카카오 링크 담아, 길 잃을 걱정 없으리. Footnotes
|
There was a problem hiding this comment.
Code Review
이번 풀 리퀘스트는 제휴 음식점 정보에 네이버 및 카카오 지도 URL 필드를 추가하고, 이를 DTO에 매핑하는 변경 사항을 포함하고 있습니다. 또한, 관련 데이터베이스 마이그레이션 파일과 단위 테스트가 추가되었습니다. 리뷰어는 지도 URL의 길이가 1024자를 초과할 수 있으므로, 안정적인 저장을 위해 엔티티 클래스와 SQL 마이그레이션 파일 모두에서 URL 컬럼의 길이를 2048로 늘릴 것을 권장했습니다.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
#️⃣ Issue Number
📝 요약(Summary)
GET /partnerships응답에 제휴 가게(PartnershipRestaurant) 단위로naverMapUrl,kakaoMapUrl필드를 추가했습니다.partnership_restaurant테이블에naver_map_url,kakao_map_url컬럼(둘 다 nullable)을 추가하는V19마이그레이션을 작성했습니다.PartnershipRestaurant는 API로 생성/수정하는 경로가 없어, 기존 i18n 필드(store_name_en/ja/vi)와 동일하게 값은 별도 마이그레이션으로만 채우는 방식을 유지했습니다. 엔티티에 setter는 추가하지 않았습니다.PartnershipResponse.fromEntity()매핑에 대한 단위 테스트(PartnershipResponseTest)를 추가해, URL 값이 정상 매핑되는 경우와 미등록(null)인 경우를 검증했습니다.💬 공유사항 to 리뷰어
null로 내려갑니다.naver_map_url/kakao_map_url은 마이그레이션에서VARCHAR(2048)로 생성했지만, 엔티티@Column에는length를 별도로 명시하지 않았습니다(ddl-auto: none이라 런타임 영향은 없습니다).✅ PR Checklist
PR이 다음 요구 사항을 충족하는지 확인하세요.