Skip to content

[MEA-204] 회원탈퇴 #126

Merged
DooHyoJeong merged 2 commits intodevelopfrom
feat/withdraw-#123
Apr 25, 2026
Merged

[MEA-204] 회원탈퇴 #126
DooHyoJeong merged 2 commits intodevelopfrom
feat/withdraw-#123

Conversation

@DooHyoJeong
Copy link
Copy Markdown
Contributor

@DooHyoJeong DooHyoJeong commented Apr 25, 2026

#️⃣ 연관된 이슈

#123

#️⃣ 작업 내용

회원 hard delete
마커, 리뷰에 들어있는 user 정보는 null로 처리

#️⃣ 테스트 결과

회원탈퇴 결과

#️⃣ 변경 사항 체크리스트

  • 새로운 기능 추가
  • 버그 수정
  • 코드에 영향을 주지 않는 변경사항(오타 수정, 탭 사이즈 변경, 변수명 변경)
  • 코드 리팩토링
  • 주석 추가 및 수정
  • 문서 수정
  • 테스트 추가, 테스트 리팩토링
  • 빌드 부분 혹은 패키지 매니저 수정
  • 파일 혹은 폴더명 수정
  • 파일 혹은 폴더 삭제

✅ PR Checklist

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • 커밋 메시지 컨벤션에 맞게 작성했나요?
  • 변경 사항에 대한 테스트를 했나요?(버그 수정/기능에 대한 테스트).
  • 코드에 영향이 있는 모든 부분에 대한 테스트를 작성하고 실행했나요?
  • 코드 컨벤션에 따라 코드를 작성했나요?
  • 본 PR에서 발생할 수 있는 모든 의존성 문제가 해결되었나요?

@DooHyoJeong DooHyoJeong linked an issue Apr 25, 2026 that may be closed by this pull request
3 tasks
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a user withdrawal feature, adding a new DELETE /withdraw endpoint and corresponding service logic to handle account deletion, including profile image removal and refresh token invalidation. Additionally, MarkerConverter and ReviewConverter were updated to handle cases where a user has been deleted. Review feedback suggests improving transaction safety for file deletions to prevent data inconsistency, replacing hardcoded strings with constants or more appropriate labels in DTOs, and using more specific exception types in unit tests.

Comment thread backend/src/main/java/com/eatall/backend/service/UserService.java Outdated
Comment thread backend/src/main/java/com/eatall/backend/converter/MarkerConverter.java Outdated
Comment thread backend/src/main/java/com/eatall/backend/converter/ReviewConverter.java Outdated
Comment thread backend/src/test/java/com/eatall/backend/service/회원_테스트.java Outdated
@DooHyoJeong DooHyoJeong merged commit 2f2a226 into develop Apr 25, 2026
@DooHyoJeong DooHyoJeong deleted the feat/withdraw-#123 branch April 25, 2026 09:43
@shimhun99 shimhun99 added the feature 기능 구현 (Jira: Story) label Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature 기능 구현 (Jira: Story)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] 회원탈퇴

2 participants