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

feat: Patch형태의 업데이트 API에서 변경하는 프로퍼티가 없을경우 업데이트가 실패하도록 구현 #314

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

choyoungwoo9
Copy link
Collaborator

🎟️ 태스크

Patch형태의 업데이트 API에서 변경하는 프로퍼티가 없을경우 업데이트가 실패하도록 변경하기

✅ 작업 내용

  • Patch형태의 수정 API에서 수정할 프로퍼티가 없으면 유효하지 않은 요청으로 판단하는 유효성검사 추가
  • story update API에서 업데이트할 프로퍼티가 존재하지 않을 경우 에러임을 확인하는 테스트 추가

🖊️ 구체적인 작업

Patch형태의 수정 API에서 수정할 프로퍼티가 없으면 유효하지 않은 요청으로 판단하는 유효성검사 추가

  • epic 수정 API에 적용
  • story 수정 API에 적용
  • task 수정 API에 적용
  • member 수정 API에 적용

story update API에서 업데이트할 프로퍼티가 존재하지 않을 경우 에러임을 확인하는 테스트 추가

  • 장애가 발생한 케이스에 대한 회귀테스트임

@choyoungwoo9 choyoungwoo9 merged commit 7f33ce1 into dev Jul 18, 2024
1 check passed
@choyoungwoo9 choyoungwoo9 deleted the feature/update-api-fix branch July 18, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant