-
Notifications
You must be signed in to change notification settings - Fork 0
refactor: 회원탈퇴 구현 #689
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
refactor: 회원탈퇴 구현 #689
Conversation
Walkthrough회원탈퇴(Withdraw) 기능이 기존 Auth 도메인에서 Account 도메인으로 이동되었습니다. 이에 따라 관련 API, 데이터소스, 레포지토리, ViewModel, UI의 의존성과 호출 흐름이 변경되었으며, 불필요해진 Auth 관련 withdraw 메서드 및 DTO가 제거되고 Account 관련 withdraw 메서드와 DTO가 새로 추가·이동되었습니다. Changes
Sequence Diagram(s)sequenceDiagram
participant UI as WithdrawSecondActivity
participant VM as WithdrawSecondViewModel
participant Repo as AccountRepository
participant RDS as AccountRemoteDataSource
participant API as AccountApi
UI->>VM: withdraw() 호출
VM->>Repo: deleteAccount(reason)
Repo->>RDS: postWithdraw(reason)
RDS->>API: postWithdrawWithKakao(KakaoWithdrawRequestDto)
API-->>RDS: 응답
RDS-->>Repo: 완료
Repo->>Repo: accountLocalDataSource.clearTokens()
Repo-->>VM: 완료
VM-->>UI: _isWithDrawSuccess 업데이트
UI->>UI: websosoNavigator.navigateToLoginActivity()
Assessment against linked issues
Suggested reviewers
Poem
Note ⚡️ AI Code Reviews for VS Code, Cursor, WindsurfCodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback. Note ⚡️ Faster reviews with cachingCodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (15)
💤 Files with no reviewable changes (4)
🔇 Additional comments (20)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
📌𝘐𝘴𝘴𝘶𝘦𝘴
📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯
💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴
로그아웃 기능과 마찬가지로, 회원탈퇴 또한 플랫폼에 대한 회원탈퇴는 백엔드에서 진행하므로 불필요한 클라이언트 코드는 삭제했습니다.