-
Notifications
You must be signed in to change notification settings - Fork 1
[FEAT] 삭제 api 수정 #244
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
Merged
Merged
[FEAT] 삭제 api 수정 #244
Changes from 8 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
bd61f39
feat: 파일 삭제 로직에 노트 파일 태그 삭제 기능 추가
Chan531 df8ec90
feat: 폴더 삭제 로직에 노트 파일 태그 삭제 기능 추가
Chan531 b03794a
feat: 타임블록 삭제 로직에 노트 태그 삭제 기능 추가
Chan531 f26ffd0
chore: 변수 컨벤션 적용
Chan531 dc8db46
feat: 팀 삭제 로직에 모든 연관 데이터 삭제 기능 추가
Chan531 e59e1ba
refactor: 삭제 로직 메소드 분리
Chan531 a4021f5
feat: 멤버 삭제
Chan531 02db23d
feat: 회원 탈퇴
Chan531 baf0f74
chore: 회원 탈퇴 로직 Member 도메인으로 이동
Chan531 542fc61
feat: 회원 탈퇴 성공 메세지 추가
Chan531 62e75d4
feat: 팀 탈퇴 불가 에러 메세지 추가
Chan531 eb3b0c2
style: 에러 메세지 마침표 추가
Chan531 2293f67
feat: 권한 Admin 여부 체크
Chan531 6b87df4
feat: 권한이 admin이 아닌지 체크
Chan531 7253416
feat: 회원 탈퇴 시, 팀 관리자가 아닌지 체크하는 로직 추가
Chan531 190efcb
chore: 메소드 파라미터 수정
Chan531 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/main/java/com/tiki/server/member/adapter/MemberDeleter.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| package com.tiki.server.member.adapter; | ||
|
|
||
| import com.tiki.server.common.support.RepositoryAdapter; | ||
| import com.tiki.server.member.entity.Member; | ||
| import com.tiki.server.member.repository.MemberRepository; | ||
|
|
||
| import lombok.RequiredArgsConstructor; | ||
|
|
||
| @RepositoryAdapter | ||
| @RequiredArgsConstructor | ||
| public class MemberDeleter { | ||
|
|
||
| private final MemberRepository memberRepository; | ||
|
|
||
| public void delete(final Member member) { | ||
| memberRepository.delete(member); | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Uh oh!
There was an error while loading. Please reload this page.