[chore] 운영서버로 배포 25/08/13#211
Conversation
- 유저가 작성한 여러 공개 피드들 중, 가장 최근에 작성한 피드의 createdAt 기준으로 count + 정렬 되는지 확인하는 테스트 코드 추가
…-feed-writers-of-my-followings [feat] 내가 팔로잉하는 유저들 중, 최근 공개 피드 작성한 유저 정보 조회 api 개발
|
Caution Review failedThe pull request is closed. Walkthrough사용자가 팔로우한 작성자 중 최근 피드를 작성한 계정을 조회하는 신규 기능이 추가되었습니다. 컨트롤러에 GET /users/my-followings/recent-feeds 엔드포인트가 도입되고, 서비스/포트/리포지토리/매퍼/DTO가 연동되어 최근 작성자 목록을 조회·매핑합니다. 통합 테스트가 포함되었습니다. Changes
Sequence Diagram(s)sequenceDiagram
actor Client
Client->>UserQueryController: GET /users/my-followings/recent-feeds (userId)
UserQueryController->>UserShowFollowingRecentWritersService: showMyFollowingRecentWriters(userId)
UserShowFollowingRecentWritersService->>UserQueryPort: findRecentFeedWritersOfMyFollowings(userId, size=10)
UserQueryPort->>UserQueryPersistenceAdapter: delegate
UserQueryPersistenceAdapter->>UserQueryRepository: findFeedWritersOfMyFollowingsOrderByCreatedAtDesc(userId, 10)
UserQueryRepository->>DB: query (joins, group by, max(created_at), limit)
DB-->>UserQueryRepository: List<UserQueryDto>
UserQueryRepository-->>UserQueryPersistenceAdapter: List<UserQueryDto>
UserQueryPersistenceAdapter-->>UserShowFollowingRecentWritersService: List<UserQueryDto>
UserShowFollowingRecentWritersService->>UserQueryMapper: toRecentWriterResponses(dtos)
UserQueryMapper-->>UserShowFollowingRecentWritersService: UserFollowingRecentWritersResponse
UserShowFollowingRecentWritersService-->>UserQueryController: UserFollowingRecentWritersResponse
UserQueryController-->>Client: BaseResponse<UserFollowingRecentWritersResponse>
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (11)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Test Results378 tests 378 ✅ 30s ⏱️ Results for commit 910f78f. |
#️⃣ 연관된 이슈
📝 작업 내용
📸 스크린샷
💬 리뷰 요구사항
📌 PR 진행 시 이러한 점들을 참고해 주세요
Summary by CodeRabbit