Skip to content

[Feat] 자유게시글 상세 조회 응답에 로그인 사용자의 좋아요 여부를 추가#132

Merged
pooreumjung merged 2 commits into
developfrom
feat/#120-free-post-liked-by-me
May 27, 2026
Merged

[Feat] 자유게시글 상세 조회 응답에 로그인 사용자의 좋아요 여부를 추가#132
pooreumjung merged 2 commits into
developfrom
feat/#120-free-post-liked-by-me

Conversation

@pooreumjung

Copy link
Copy Markdown
Member

🧾 요약

  • 자유게시글 상세 조회 응답에 로그인 사용자의 좋아요 여부를 추가

🔗 이슈

✨ 변경 내용

  • GET /api/community/free-posts/{postId} 응답에 likedByMe 필드 추가
  • 게시글 상세 조회 시 postId, userId 기반으로 좋아요 여부 조회
  • 게시글 생성 응답은 likedByMe=false로 반환
  • FreePostServiceTest에 좋아요 여부 검증 추가
  • 기존 테스트의 List<Object[]> 타입 추론 컴파일 오류 수정

✅ 확인

  • 빌드 OK
  • 테스트 OK

@pooreumjung pooreumjung self-assigned this May 27, 2026
@pooreumjung pooreumjung added the enhancement New feature or request label May 27, 2026
@coderabbitai

coderabbitai Bot commented May 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5d2e8711-3667-4da7-91cf-766e041a46db

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/#120-free-post-liked-by-me

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

@pooreumjung
pooreumjung merged commit f9568ce into develop May 27, 2026
3 checks passed
@howooyeon
howooyeon deleted the feat/#120-free-post-liked-by-me branch May 29, 2026 12:26
@pooreumjung pooreumjung changed the title Feat/#120 free post liked by me [Feat] 자유게시글 상세 조회 응답에 로그인 사용자의 좋아요 여부를 추가 May 30, 2026
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.

[feat] 특정 유저가 특정 게시물에 좋아요를 눌렀는지 확인하는 API

1 participant