[#373][FEAT] 약속 승인/취소/거절 검증 추가#374
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR 요약
이슈 번호
주요 변경 사항
meeting/MeetingService: 약속 시작 24시간 이내 일정은 신규 신청 자체를 차단하도록 생성 검증 추가meeting/MeetingService:PENDING약속이 24시간 이내로 들어간 경우 승인 차단, 거절은 허용하도록 정책 보강meeting/MeetingService: 거절은PENDING상태에서만 가능하도록 서버 검증 추가meeting/MeetingService: 약속 참가 신청 시 대상 약속이CONFIRMED인지 검증 추가meeting/MeetingService: 다른 모임 포함 동일 시간대의 다른 확정 약속에 이미 참가 중인지 검증 추가meeting/MeetingMemberRepository: 사용자 기준 시간 중복 참가 여부 조회 쿼리 추가meeting/MeetingErrorCode: 참가 상태/시간 중복, 24시간 내 생성/승인 제한 검증용 에러 코드(M020~M023) 추가meeting/MeetingServiceTest: 24시간 내 생성 차단, 24시간 내 승인 차단, 24시간 내 거절 허용, 미확정 약속 참가 차단, 동일 시간 중복 참가 차단 테스트 추가QA 이슈 대응
약속 시작 24시간 이내 일정은 신규 신청을 막고, 이미 신청된
PENDING약속이 24시간 이내로 들어간 경우 승인만 차단하고 거절은 허용하도록 정책을 정리했습니다.확정 대기 약속 거절 시 서버 에러 대신 정상 거절 또는 상태 전이 예외가 내려오도록 서버 검증을 보강했습니다.
다른 모임의 동일 시간대 약속 중복 참가가 가능하던 문제를 서버에서 차단하도록 수정했습니다.
참고 사항
예: