Conversation
그룹 가입 요청 처리 과정에 메시지를 추가하도록 수정했습니다. 이를 통해 사용자는 그룹 가입 요청 시 추가 정보를 제공할 수 있습니다. `GroupUserV2` 클래스의 `requestJoin` 메서드가 이제 메시지 매개변수를 받습니다. 받은 메시지는 가입 요청과 연결됩니다. `GroupUserV2` 클래스의 `createPending` 메서드 또한 이제 메시지 매개변수를 받습니다. GroupV2AttendanceService가 그룹 생성 또는 가입 요청 시 메시지를 제공하도록 업데이트되었습니다. 테스트 HTTP 메서드도 테스트 메시지를 포함하도록 업데이트되었습니다.
|
Caution Review failedThe pull request is closed. Walkthrough메시지 매개변수를 추가하여 Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
✨ Finishing touches
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
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 |
There was a problem hiding this comment.
Pull request overview
This PR enhances the group join request functionality by adding support for optional messages when users apply to join a group. The primary change consolidates duplicate requestJoin methods in the GroupUserV2 class and ensures the message parameter is properly propagated through the system.
- Refactored
GroupUserV2.requestJoin()to accept a message parameter, removing method duplication - Updated
GroupV2AttendanceServiceto pass the message parameter when handling re-join requests - Enhanced test HTTP files with message payloads to verify the new functionality
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/main/java/team/wego/wegobackend/group/v2/domain/entity/GroupUserV2.java | Consolidated two requestJoin methods into a single method accepting a message parameter, eliminating code duplication |
| src/main/java/team/wego/wegobackend/group/v2/application/service/GroupV2AttendanceService.java | Updated re-join flow to pass message parameter to requestJoin method |
| src/test/http/group/v2/notification/v2-group-notification-approve_required.http | Added message payloads to test requests for join and re-join scenarios |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
📝 Pull Request
📌 PR 종류
해당하는 항목에 체크해주세요.
✨ 변경 내용
그룹 가입 요청 처리 과정에 메시지를 추가하도록 수정했습니다.
이를 통해 사용자는 그룹 가입 요청 시 추가 정보를 제공할 수 있습니다.
GroupUserV2클래스의requestJoin메서드가 이제 메시지 매개변수를 받습니다.받은 메시지는 가입 요청과 연결됩니다.
GroupUserV2클래스의createPending메서드 또한 이제 메시지 매개변수를 받습니다.GroupV2AttendanceService가 그룹 생성 또는 가입 요청 시 메시지를 제공하도록 업데이트되었습니다.
테스트 HTTP 메서드도 테스트 메시지를 포함하도록 업데이트되었습니다.
🔍 관련 이슈
🧪 테스트
변경된 기능에 대한 테스트 범위 또는 테스트 결과를 작성해주세요.
🚨 확인해야 할 사항 (Checklist)
PR을 제출하기 전에 아래 항목들을 확인해주세요.
🙋 기타 참고 사항
리뷰어가 참고하면 좋을 만한 추가 설명이 있다면 적어주세요.
Summary by CodeRabbit
릴리스 노트
✏️ Tip: You can customize this high-level summary in your review settings.