Skip to content

Comments

feat : 회원 탈퇴 api 추가(#107)#109

Merged
myqewr merged 1 commit intodevelopfrom
feature/#107
May 1, 2025
Merged

feat : 회원 탈퇴 api 추가(#107)#109
myqewr merged 1 commit intodevelopfrom
feature/#107

Conversation

@myqewr
Copy link
Member

@myqewr myqewr commented May 1, 2025

🌱 관련 이슈

📌 작업 내용 및 특이사항

  • soft delete : user delete 상태 변경 & user가 작성한 게시글을 SYSTEM 익명 유저로 변경(닉네임 : (알수없음))
  • hard delete : user, 북마크, 이미지, 그루밍 테스트 결과를 회원 탈퇴 30일 이후에 삭제되도록 스케줄러 구현
  • hard delete는 usecase로 구현하고, 외부 scheduler 계층에서 usecase 호출하도록 구현
  • 해당 usecase는 문서화하지 않고 통합 테스트 코드 작성

🔍 참고사항

  • port implement 하는 구현체가 점점 커지는 것 같습니다. 한번 분리하는게 필요할 것 같습니다.

📚 기타

@myqewr myqewr self-assigned this May 1, 2025
@myqewr myqewr requested a review from hisonghy May 1, 2025 06:44
@myqewr myqewr added the ⚡ feature 새로운 기능 추가 및 수정 label May 1, 2025
import com.ftm.server.application.command.user.DeleteUserByIdCommand;
import com.ftm.server.common.annotation.Port;

@Port
Copy link
Member

Choose a reason for hiding this comment

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

@usecase 어노테이션으로 수정해야할 것 같아요

Copy link
Member Author

Choose a reason for hiding this comment

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

넵 감사합니다!

- scheduler : 사용자 관련 정보 hard delete 진행
@myqewr myqewr merged commit 618868d into develop May 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚡ feature 새로운 기능 추가 및 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

⚡ 회원 탈퇴 API

2 participants