Skip to content

feat: 제휴 가게 지도 URL 필드 추가#422

Merged
pooreumjung merged 2 commits into
developfrom
feat/#421-add-partnership-map-url
Jul 18, 2026
Merged

feat: 제휴 가게 지도 URL 필드 추가#422
pooreumjung merged 2 commits into
developfrom
feat/#421-add-partnership-map-url

Conversation

@pooreumjung

Copy link
Copy Markdown
Member

#️⃣ 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 리뷰어

  • 이번 PR은 컬럼/필드 추가까지만 포함하며, 실제 지도 링크 스프레드시트 값을 채우는 데이터 마이그레이션은 포함되어 있지 않습니다. 배포 후에도 별도 마이그레이션 전까지는 두 필드 모두 null로 내려갑니다.
  • naver_map_url/kakao_map_url은 마이그레이션에서 VARCHAR(2048)로 생성했지만, 엔티티 @Column에는 length를 별도로 명시하지 않았습니다(ddl-auto: none이라 런타임 영향은 없습니다).
  • 앱에서 지도 앱 딥링크 실행 여부(설치 시 앱 실행/미설치 시 웹브라우저)는 클라이언트가 웹 URL 기반으로 처리하는 것을 전제로 했습니다. 별도 딥링크 스킴 값은 이번 범위에 포함하지 않았으니, 앱 쪽에서 웹 URL만으로 앱 실행이 안 되는 경우 알려주세요.

✅ PR Checklist

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • 커밋 메시지 컨벤션에 맞게 작성했습니다.
  • 변경 사항에 대한 테스트를 했습니다.(버그 수정/기능에 대한 테스트).

@pooreumjung pooreumjung added the feat 개발, 구현 label Jul 18, 2026
@pooreumjung pooreumjung self-assigned this Jul 18, 2026
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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

  • 데이터베이스 스키마 업데이트: PartnershipRestaurant 엔티티에 naverMapUrl 및 kakaoMapUrl 필드를 추가하고, 이를 반영하기 위한 V19 마이그레이션 스크립트를 작성했습니다.
  • API 응답 DTO 확장: PartnershipResponse DTO에 지도 URL 필드를 추가하여 클라이언트가 제휴 가게의 지도 정보를 조회할 수 있도록 했습니다.
  • 단위 테스트 추가: PartnershipResponseTest를 통해 엔티티에서 DTO로의 매핑 로직이 지도 URL을 올바르게 처리하는지 검증했습니다.
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 Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/main/java/ssu/eatssu/domain/partnership/entity/PartnershipRestaurant.java Outdated
Comment thread src/main/resources/db/migration/V19__add_map_urls_to_partnership_restaurant.sql Outdated
@pooreumjung
pooreumjung merged commit 92f8abd into develop Jul 18, 2026
1 check passed
@pooreumjung
pooreumjung deleted the feat/#421-add-partnership-map-url branch July 18, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat 개발, 구현

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: 제휴 가게 지도 딥링크 URL(naverMapUrl/kakaoMapUrl) 필드 추가

1 participant