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

회원 탈퇴 기능 추가 #120

Merged
merged 5 commits into from
Apr 22, 2024
Merged

회원 탈퇴 기능 추가 #120

merged 5 commits into from
Apr 22, 2024

Conversation

chaewss
Copy link
Member

@chaewss chaewss commented Apr 21, 2024

🎯 Issue

🔑 Key Changes

  • 회원 탈퇴 API를 추가했습니다.
  • 탈퇴 회원 관련 로직을 수정했습니다.
    • 탈퇴한 회원이 로그인하는 경우
    • [리뷰 목록 / 특정 상품의 리뷰 목록] API 조회 시 리뷰 작성자가 탈퇴한 경우
      • (작성자 ID, 닉네임, 프로필 이미지, 회원 팔로잉 여부) responseDto 필드값 null 처리
  • 테스트 코드를 작성했습니다.
  • 문서를 작성했습니다.

🙋‍♀️ To Reviewer

  • User entity와 UserTag entity의 CascadeType을 ALL에서 PERSIST로 변경하고 orphanRemoval 옵션을 삭제했습니다.
  • @SQLDelete를 사용해 isDeleted flag를 변경했습니다.
  • 테스트 코드를 작성하다가 SQLDelete와 영속성 컨텍스트에 관해 정리 해봤서요🤧

@chaewss chaewss self-assigned this Apr 21, 2024
@chaewss chaewss linked an issue Apr 21, 2024 that may be closed by this pull request
4 tasks
Copy link

Test Results

80 tests   80 ✅  2s ⏱️
 8 suites   0 💤
 8 files     0 ❌

Results for commit bb11aed.

Copy link
Member

@feel-coding feel-coding left a comment

Choose a reason for hiding this comment

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

고생하셨습니다👍

@chaewss chaewss merged commit 0a88e7c into develop Apr 22, 2024
2 checks passed
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.

회원 탈퇴 기능 추가
2 participants