Skip to content

Conversation

@coldsunn
Copy link
Collaborator

@coldsunn coldsunn commented Feb 12, 2026

📝 요약(Summary)

  • HomeResponse: answeredFriendProfiles, answeredFriendCount 필드 추가

  • AnswerEntryQueryRepository: findFriendsWhoAnsweredQuestion 쿼리 추가

  • HomeQueryService: 친구 프로필 조회 로직 구현

    조회 기준:

    • 답변 시간 최신순 정렬
    • 최대 5개 프로필 URL 반환
    • ACCEPTED 상태 친구만 조회
    • 탈퇴 예정 사용자 제외
    • 프로필 미설정 시 null 필터링

🔗 Related Issue

  • Closes:

💬 공유사항

UserDailyQuestion 조회 쿼리가 오늘의 질문 조회 API랑 중복되긴 하지만 질문과 친구 프로필은 관계가 없다고 생각해서 홈화면 정보 조회 API에 구현했습니다.

✅ PR Checklist

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • PR 제목을 커밋 메시지 컨벤션에 맞게 작성했습니다.

HomeResponse에 answeredFriendProfiles, answeredFriendCount 필드 추가, HomeQueryService에 조건에 맞는 친구 프로필 조회
로직 구현, AnswerEntryQueryRepository에 쿼리 추가
@1Seob
Copy link
Collaborator

1Seob commented Feb 12, 2026

LGTM!

@coldsunn coldsunn merged commit 61b13b5 into develop Feb 12, 2026
1 check passed
@coldsunn coldsunn deleted the feat/home-answered-friends branch February 12, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants