Skip to content

[NDGL-100] AlternativePlace.id가 빈 문자열로 설정되어 대체 장소 네비게이션 미작동 #30

@coderabbitai

Description

@coderabbitai

문제 설명

AlternativePlaceContent.kt에서 onClick(alternativePlace.id)로 전달되는 값이 FollowPlaceDetailIntent.ClickAlternativePlacegooglePlaceId 파라미터로 사용되지만, FollowTravelViewModel.kt에서 AlternativePlace를 생성할 때 id = ""로 빈 문자열이 하드코딩되어 있습니다.

PlanBPlace 데이터 클래스는 namefeature 필드만 가지고 있어 Google Place ID를 포함하지 않으므로, 대체 장소 클릭 시 빈 googlePlaceId로 네비게이션하게 되어 장소 상세 화면이 올바르게 로드되지 않습니다.

수정 방법

  • PlanBPlacegooglePlaceId 필드 추가, 또는
  • 대체 장소의 ID를 획득할 수 있는 데이터 구조로 변경, 또는
  • 매핑 로직에서 실제 ID 값을 사용하도록 수정

참고

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions