Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
관련 이슈
resolve : #1
작업 내용
참고사항
회원 삭제 방식 변경
회원 삭제 시
PATCH
메서드를 사용해서isActive
필드를 업데이트하도록 변경하였습니다.1.1. PATCH 메서드 선택 이유
- 기존에는
DELETE
메서드를 사용할지 고민했으나, 회원 데이터를 완전히 삭제하는 대신 비활성화하는 방식을 적용하기 위해PATCH
메서드를 선택하였습니다.- 이를 통해 회원 데이터를 유지하면서 복구가 가능하도록 하였습니다.
1.2. 비활성화된 회원 처리 방식
-
isActive = false
상태인 사용자는 로그인 등 주요 기능이 제한됩니다.- 운영 관리에서 비활성화된 회원을 조회하거나, 일정 기간 이후 완전히 삭제하는 배치 처리를 적용하는 방안을 고려할 수 있습니다.