Skip to content
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] 이동봉사 신청 관련 API 수정 #180

Merged
merged 9 commits into from
May 5, 2024

Conversation

kyeong-hyeok
Copy link
Member

💡 연관된 이슈

close #177

📝 작업 내용

  • 이동봉사 신청 - 운송 수단 삭제 및 "반려" 상태 추가
  • 봉사자, 모집자 이동봉사 신청 내역 단건 조회 dto 수정
  • 이동봉사 신청 반려 시 신청 상태 "반려"로 변경
  • 이동봉사 신청 DB 제약 조건 해제 및 신청 API 수정
  • import.sql 수정, 이동봉사 신청 관련 테스트 코드 수정

💬 리뷰 요구 사항

이동봉사 신청 반려 시 신청을 삭제하지 않고 신청 상태를 "반려"로 변경하는 방식을 채택했습니다.
충돌이 잦지 않을 것이라 판단되고, 동시에 신청이 들어왔을 때 큰 문제로 이어지지는 않지만 만약 문제될 상황이 생긴다면 낙관적 락이나 다른 방법을 고민해 보는 것도 좋을 것 같아요!
수정한 부분이 조금 있어서 검증이 한 번 더 필요합니다!

@kyeong-hyeok kyeong-hyeok added ✨ Feature 기능 개발 Priority: Medium 우선순위 중간 🐯 Koeyhk 담당자 labels May 5, 2024
@kyeong-hyeok kyeong-hyeok linked an issue May 5, 2024 that may be closed by this pull request
7 tasks
Copy link
Member

@hojeong2747 hojeong2747 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

신청 상태에 '반려' 상태를 추가하여 추가 기획 반영한 부분 잘 구현하신 것 같습니다.

현재로서는 반려 상태가 아닌 신청 건이 있다면 신청을 못 하게 막는 것이 최선인 것 같고, 동시성 문제에 대해서는 후에 함께 더 고민해 보아요!

@kyeong-hyeok kyeong-hyeok merged commit e31154f into develop May 5, 2024
1 check passed
@kyeong-hyeok kyeong-hyeok deleted the feat/177-application-api-modify branch May 5, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature 기능 개발 🐯 Koeyhk 담당자 Priority: Medium 우선순위 중간
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] 이동봉사 신청 관련 API 수정
2 participants