pr fix : 단일 게시글 조회 응답 dto 수정 - objectkey, imageurl 추가 - #147
Merged
Hidden character warning
The head ref may contain hidden characters: "fix-\uac8c\uc2dc\uae00-\ub2e8\uc77c-\uc870\ud68c-\uc751\ub2f5-\uc218\uc815"
Conversation
Closed
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
Walkthrough게시글 단일 조회 응답에서 이미지 데이터 구조를 리팩토링했습니다. 기존의 문자열 기반 이미지 URL 목록을 imageUrl과 objectKey를 포함한 구조화된 DTO로 변경하여 타입 안정성과 데이터 조직성을 개선했습니다. Changes
Sequence DiagramsequenceDiagram
participant Client
participant RecruitingPostService
participant PostImageService
participant Database
Client->>RecruitingPostService: getPost(postId, userId)
activate RecruitingPostService
RecruitingPostService->>Database: 게시글 조회
Database-->>RecruitingPostService: RecruitingPost
RecruitingPostService->>PostImageService: getPostImages(postId)
activate PostImageService
PostImageService->>Database: PostImage 목록 조회
Database-->>PostImageService: PostImage entities
PostImageService->>PostImageService: PostImage → PostImageResponseDto 변환
Note over PostImageService: imageUrl, objectKey 매핑
PostImageService-->>RecruitingPostService: List<PostImageResponseDto>
deactivate PostImageService
RecruitingPostService->>RecruitingPostService: RecruitingPostDetailResponseDTO 생성
Note over RecruitingPostService: images 필드에 DTO 목록 할당
RecruitingPostService-->>Client: RecruitingPostDetailResponseDTO
deactivate RecruitingPostService
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
#️⃣연관된 이슈
📝작업 내용
스크린샷 (선택)
💬리뷰 요구사항(선택)
Summary by CodeRabbit
릴리스 노트