Skip to content

Feat: 좋아요, 즐겨찾기 목록 조회 응답 수정#5

Merged
dungbik merged 1 commit intomainfrom
feat/modify-get-response
Mar 18, 2026
Merged

Feat: 좋아요, 즐겨찾기 목록 조회 응답 수정#5
dungbik merged 1 commit intomainfrom
feat/modify-get-response

Conversation

@dungbik
Copy link
Contributor

@dungbik dungbik commented Mar 18, 2026

Summary by CodeRabbit

릴리스 노트

  • Refactor
    • 북마크 및 좋아요 API 응답 구조를 개선했습니다. 대상 정보(유형, ID, 그룹 ID)가 이제 단일 중첩 객체로 캡슐화되어 더 체계적인 응답 형식을 제공합니다.

@dungbik dungbik requested a review from stoneTiger0912 March 18, 2026 02:38
@dungbik dungbik self-assigned this Mar 18, 2026
@dungbik dungbik added the enhancement New feature or request label Mar 18, 2026
@dungbik dungbik merged commit 1fe34ee into main Mar 18, 2026
2 checks passed
@dungbik dungbik deleted the feat/modify-get-response branch March 18, 2026 02:38
@coderabbitai
Copy link

coderabbitai bot commented Mar 18, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d49d9443-a990-43c5-b654-03e041de4851

📥 Commits

Reviewing files that changed from the base of the PR and between b2d698f and 677542f.

📒 Files selected for processing (4)
  • src/main/java/flipnote/reaction/bookmark/model/response/BookmarkResponse.java
  • src/main/java/flipnote/reaction/bookmark/model/response/BookmarkTargetResponse.java
  • src/main/java/flipnote/reaction/like/model/response/LikeResponse.java
  • src/main/java/flipnote/reaction/like/model/response/LikeTargetResponse.java

Walkthrough

Bookmark 및 Like 반응 응답 모델의 구조를 리팩토링했습니다. 세 개의 개별 필드(targetType, targetId, targetGroupId)를 새로운 중첩 응답 객체(BookmarkTargetResponse, LikeTargetResponse)로 통합하여 관련 데이터를 캡슐화합니다.

Changes

Cohort / File(s) Summary
BookmarkResponse 리팩토링
src/main/java/flipnote/reaction/bookmark/model/response/BookmarkResponse.java, src/main/java/flipnote/reaction/bookmark/model/response/BookmarkTargetResponse.java
BookmarkResponse 레코드의 타겟 관련 필드(targetType, targetId, targetGroupId)를 새로운 BookmarkTargetResponse 객체로 통합했습니다. 메서드는 새로운 중첩 구조에 맞춰 업데이트되었습니다.
LikeResponse 리팩토링
src/main/java/flipnote/reaction/like/model/response/LikeResponse.java, src/main/java/flipnote/reaction/like/model/response/LikeTargetResponse.java
LikeResponse 레코드의 타겟 관련 필드(targetType, targetId, targetGroupId)를 새로운 LikeTargetResponse 객체로 통합했습니다. 동일한 캡슐화 패턴이 적용되었습니다.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested reviewers

  • stoneTiger0912

Poem

🐰 북마크와 좋아요의 구조를 정리하며,
흩어진 필드들을 모아 담아,
깔끔한 객체로 재탄생했네요!
중첩된 응답, 더욱 우아해지니,
코드도 행복해 보입니다. ✨

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/modify-get-response
📝 Coding Plan
  • Generate coding plan for human review comments

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can customize the high-level summary generated by CodeRabbit.

Configure the reviews.high_level_summary_instructions setting to provide custom instructions for generating the high-level summary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant