Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[refactor] ToOne 연관관계 페치 설정 수정 및 City 엔티티 필드 추가, 도시 정보 조회 API 리팩토링 #141

Merged
merged 7 commits into from
Jan 31, 2024

Conversation

jo0oy
Copy link
Contributor

@jo0oy jo0oy commented Jan 31, 2024

🎯 목적

  • 리팩토링 (Refactoring)

  • 간략한 설명:
    :

    • ToOne 연관관계 페치 설정 수정
    • City 엔티티 필드 추가 : 도시 위도, 경도
    • 도시 정보 조회 API 리팩토링 수정

🛠 작성/변경 사항

  • 변경사항

    • ToOne 연관관계 페치 설정 수정
      • as-is
        • ToOne 연관관계 : 기본으로 설정된 EAGER Loading
      • to-be
        • ToOne 연관관계 : LAZY Loading + not null이어야 하는 연관관계에 optional=false 설정 추가
    • TripRecordViewHistory 관련 Controller, Service, Repository 이동
      • triprecord 도메인 패키지 하위로 이동
    • City 엔티티에 도시 위도(latitude)/경도(longitude) 추가
      • 프론트 측 요청에 따라 도시 정보 조회시 도시 위/경도 정보를 줄 수 있도록 추가
    • 도시 정보 조회시 위도/경도 정보 포함하도록 응답 DTO에 필드 추가

🔗 관련 이슈


This close #140

@jo0oy jo0oy added feat 기능을 추가합니다. refactor Refactoring labels Jan 31, 2024
@jo0oy jo0oy self-assigned this Jan 31, 2024
Copy link

Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit de2229c. ± Comparison against base commit a5c8625.

@jo0oy jo0oy merged commit 119b287 into develop Jan 31, 2024
3 checks passed
@jo0oy jo0oy deleted the feature/#140-refactoring-fetch-and-city-api branch February 3, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat 기능을 추가합니다. refactor Refactoring
Projects
None yet
1 participant