-
Notifications
You must be signed in to change notification settings - Fork 1
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
[FEATURE] 봉사자 프로필 조회 기능 추가 #323
Conversation
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.
고생하셨씁니다.
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.
고생하셨습니당
- 사용되지 않는 기존의 VolunteerProfile 조회 메서드 및 테스트 제거 - VolunteerQueryUseCase와 VolunteerQueryServiceTest에서 불필요한 import 삭제
- VolunteerProfileResponseDto 생성 및 봉사자 DTO 정의 - GetVolunteerProfileUseCase 인터페이스 및 구현체 추가 - VolunteerProfileQueryController에서 프로필 조회 기능 수정 및 서비스 연동 - 관련 도메인, 유즈케이스 의존성 업데이트
- 성공적인 봉사자 프로필 조회 테스트 케이스 작성 - 존재하지 않는 봉사자 프로필 조회 시 예외 발생 테스트 포함
- NEWRegisterVolunteerService를 RegisterNEWVolunteerService로 클래스명 변경 - 관련 테스트 클래스 및 필드명도 동일하게 수정
- 봉사자 ID를 기반으로 프로필 조회 기능 추가 - VolunteerQueryUseCase에 `getById` 및 `getUserIdById` 메서드 확장 - VolunteerProfileQueryController에 새로운 엔드포인트 추가: - `GET /user-id/{userId}`: 유저 ID 기반 프로필 조회 - `GET /volunteer-id/{volunteerId}`: 봉사자 ID 기반 프로필 조회 - 기존 `getProfile` 메서드를 `getProfileByUserId`로 변경 - `getProfileByVolunteerId` 메서드 추가하여 봉사자 ID 활용 로직 연결
- 봉사자 ID로 봉사자를 조회하는 테스트 추가 - 봉사자 ID로 유저 ID를 조회하는 테스트 추가 - 기존 테스트의 DisplayName 수정 및 표현 개선
- `findVolunteer`와 `findVolunteerDetail` 메서드 제거 - 사용되지 않는 메서드로 판단하여 삭제 - `NEWVolunteerRepository` 변수명을 `volunteerRepository`로 변경 - 가독성 및 네이밍 일관성 강화
ea2d013
to
cb679a7
Compare
|
resolved :
📌 과제 설명
봉사자 프로필 조회 기능 추가
👩💻 요구 사항과 구현 내용
봉사자 프로필 조회 기능 추가 (유저, 봉사자 아이디 기준)