Repository navigation
[refactor/#456] Recommendation 조회 응답 매핑 경계 정리 - #461
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
❤️ 기능 설명
recommendation.application이presentation을 import하던 역방향 의존을 제거하고, 조회 결과와 응답 모델의 경계를 분리했습니다.GetRecommendationsResult,RecommendedPostItemResult를 추가했습니다. 북마크 상태, 썸네일 최적화, keywords는 조회 트랜잭션 안에서 Result 생성 시점에 확정합니다.isBookmarked=nullDTO를 만든 뒤 다시 조립하던 흐름을 제거했습니다.RecommendationConverter는 Result를 Response로 변환만 하고, controller가 호출합니다.API 계약 변경이 없어 Swagger 스크린샷 대신 테스트 결과로 대체합니다.
recommendation.application의presentationimport: 0건./gradlew test -PexcludeIntegration: 성공RecommendationIntegrationTest: 로컬에 Docker가 없어 미실행, CI 결과 확인 필요연결된 issue
close #456
🩷 Approve 하기 전 확인해주세요!
BookmarkQueryService,PostReadModelEnricher와 같은 방식입니다.✅ 체크리스트