-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OING-340] feature: 가족 초대 딥링크 발급 로직 변경 및 가족 초대 뷰 기반 API 실제 로직 추가 #262
Conversation
Test Results 52 files 52 suites 12s ⏱️ Results for commit b942375. ♻️ This comment has been updated with latest results. |
Code Coverage
|
|
||
@Override | ||
public FamilyInviteDeepLinkResponse getFamilyInviteLinkDetails(String linkId, String loginMemberId) { | ||
|
||
// TODO : 기능 구현할 때, 응답 모킹용 코드 삭제하고 아래 주석 풀기 | ||
boolean isRequesterJoinedFamily = false; | ||
// MemberResponse me = meApi.getMe(loginMemberId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
meApi의 getMe
메서드를 그대로 사용하면 로그인하지 않은 사용자가 해당 API를 호출할 때, Member를 찾을 수 없다는 예외가 터져 해당 API용 getMemberNullable
를 따로 추가해서 처리했습니다.
Quality Gate passedIssues Measures |
.from(member) | ||
.where(member.familyId.eq(familyId) | ||
.and(member.deletedAt.isNull())) | ||
.orderBy(member.profileImgUrl.desc().nullsLast()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
기획 상으로는 프로필 이미지가 존재하는 회원부터 대표 구성원으로 보여야한다고 해서 정렬했습니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨슴다
* feature: add column to deep_link tbl and family_invite_link tbl * feature: modify logic for issuing deep links * feature: add inviter information logic to view-based API * feature: add family name column to family tbl * test: add family constructor to familyName field in test * feature: add countSurvivalPostsByFamilyId method * feature: add getFamilyMember's info method * feature: add getFamilyMember's info logic to getFamilyInviteLinkDetails method * feature: add getFamilyMemberNames logic * chore: add delete previous data from deep_link and family_invite_link tbl * test: add MemberRepositoryCustomTest
* feature: add column to deep_link tbl and family_invite_link tbl * feature: modify logic for issuing deep links * feature: add inviter information logic to view-based API * feature: add family name column to family tbl * test: add family constructor to familyName field in test * feature: add countSurvivalPostsByFamilyId method * feature: add getFamilyMember's info method * feature: add getFamilyMember's info logic to getFamilyInviteLinkDetails method * feature: add getFamilyMemberNames logic * chore: add delete previous data from deep_link and family_invite_link tbl * test: add MemberRepositoryCustomTest
❓ 기능 추가 배경
가족 초대 딥링크 발급 로직 변경 및 가족 초대 뷰 기반 API 실제 로직 추가했습니다.
➕ 추가/변경된 기능
🥺 리뷰어에게 하고싶은 말
추가된 코드가 많아 커밋 별로 보시면 편합니다.
🔗 참조 or 관련된 이슈
https://no5ing.atlassian.net/browse/OING-340