fix: 가족 목록 양방향 조회 지원 (#112) - #113
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe family member endpoint now returns active connections for protectors and wards. Responses identify the counterparty and role relative to the authenticated user while retaining legacy ward fields. Integration coverage verifies both lookup directions. ChangesFamily member lookup
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to The API now supports family-member lookup from either relationship direction while preserving existing guardian fields. No actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Linked Issues checkExplanation The changes implement the linked issue objectives: both participants can retrieve active family links, responses include relative member details and role, legacy ward fields remain, and integration coverage verifies both directions. The active-status repository filter excludes non-active links. Full details: Out of Scope Changes checkExplanation All modified production files and tests directly support bidirectional family-list retrieval, response compatibility, role reporting, active-link filtering, and integration verification. No unrelated changes are evident. ✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
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. Comment |
📋 작업 내용
GET /api/v1/family/members가 보호자 기준으로만 가족 연결을 조회하던 문제를 수정했습니다.family_links한 행을 양쪽에서 조회하도록 구현했습니다.memberIdmemberNamememberPhonememberRole(PROTECTOR,WARD)wardId,wardName,wardPhone필드는 유지했습니다.🧪 테스트 결과
🔗 관련 이슈
Closes #112
✅ 체크리스트
Summary by CodeRabbit
New Features
Bug Fixes