Skip to content

Conversation

@tiemo0708
Copy link
Member

@tiemo0708 tiemo0708 commented May 23, 2025

📌 작업 개요

  • 로그인한 사용자가 자신의 계정을 탈퇴할 수 있는 기능을 추가

✅ 작업 내용

  1. @loginuser 을 통해 로그인된 사용자 삭제
  2. 포트-어댑터 구조로 삭제 로직 구현

📂 리뷰 요구사항

  • 추후 soft delete 가능성

@tiemo0708 tiemo0708 requested a review from baekjaehyuk May 23, 2025 13:23
@tiemo0708 tiemo0708 self-assigned this May 23, 2025
@tiemo0708 tiemo0708 added the feat label May 23, 2025
@codecov
Copy link

codecov bot commented May 23, 2025

Copy link
Collaborator

@baekjaehyuk baekjaehyuk left a comment

Choose a reason for hiding this comment

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

말씀해 주신 것처럼 soft delete에 대한 논의는 필요할 것 같습니다.
추가로 유저에 대한 프로필 삭제와 더불어 해당 유저의 영수증에 대한 데이터도 처리가 빠진 거 같습니다.

Comment on lines 18 to 22
@DeleteMapping("/delete")
@Override
public void deleteMyAccount(@LoginUser User user) {
deleteUserUseCase.deleteUser(user);
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

현재 DeleteMapping으로 삭제에 대한 행위를 표현하고 있어 /delete 는 삭제해도 좋을 거 같습니다.

@sonarqubecloud
Copy link

@tiemo0708 tiemo0708 merged commit b7eaa6e into develop May 28, 2025
3 checks passed
@tiemo0708 tiemo0708 deleted the TB-31 branch May 28, 2025 04: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.

3 participants