Conversation
[chore] 패키지 구조 변경 (RoomPost 도입)
…e-inner-class-naming [hotfix] 개발된 모든 api의 response inner class 네이밍 수정
[feat] 특정 책으로 작성된 피드 목록 조회 api 개발
|
Caution Review failedThe pull request is closed. Walkthrough대규모 리팩터링과 기능 추가가 포함됨. record/vote 도메인을 roompost로 이관(컨트롤러, 포트, DTO, 엔티티/리포지토리, 매퍼, 서비스 전반). PostType/CountUpdatable 등 공통->post.domain 이동. 책-연관 피드 조회(ISBN) 신규 API/서비스/쿼리 추가. 여러 응답 DTO 내부 타입명 변경/확장. 도메인 서비스 애너테이션 추가. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Client
participant C as FeedQueryController
participant U as FeedRelatedWithBookUseCase(Service)
participant BQ as BookQueryPort
participant FQ as FeedQueryPort
participant PL as PostLikeQueryPort
participant M as FeedQueryMapper
Client->>C: GET /feeds/related-books/{isbn}?sort&cursor
C->>U: getFeedsByBook(query{isbn, sortType, cursor, userId})
U->>BQ: existsBookByIsbn(isbn)
alt not exists
U-->>C: FeedRelatedWithBookResponse(feeds=[], nextCursor=null, isLast=true)
C-->>Client: 200 OK
else exists
alt sort=LIKE
U->>FQ: findFeedsByBookIsbnOrderByLike(isbn, userId, cursor)
else sort=LATEST
U->>FQ: findFeedsByBookIsbnOrderByLatest(isbn, userId, cursor)
end
U->>FQ: findSavedFeedIds(userId, feedIds)
U->>PL: findLikedFeedIds(userId, feedIds)
U->>M: toFeedRelatedWithBookDtos(dtos, savedIds, likedIds, userId)
U-->>C: FeedRelatedWithBookResponse(feeds, nextCursor, isLast)
C-->>Client: 200 OK
end
Estimated code review effort🎯 5 (Critical) | ⏱️ ~120–180 minutes Possibly related PRs
Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. ✨ Finishing Touches
🧪 Generate unit tests
🪧 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 (
|
#️⃣ 연관된 이슈
📝 작업 내용
📸 스크린샷
💬 리뷰 요구사항
📌 PR 진행 시 이러한 점들을 참고해 주세요
Summary by CodeRabbit