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

[Server] 서버 탈퇴 API 기능 구현 #281

Merged
merged 4 commits into from
Nov 9, 2024

Conversation

minahYu
Copy link
Contributor

@minahYu minahYu commented Nov 9, 2024

#️⃣연관된 이슈

📝작업 내용

  • 서버 탈퇴 API 기능 구현
  • 서버 탈퇴 controller 테스트코드 작성

@minahYu minahYu added enhancement 추가 기능 API 상세 api 문서 Test 테스트 코드 Server 서버 관련 기능 labels Nov 9, 2024
@minahYu minahYu added this to the MSA 채팅 서비스 개발 milestone Nov 9, 2024
@minahYu minahYu self-assigned this Nov 9, 2024
@minahYu minahYu merged commit 9b92993 into kSideProject:dev Nov 9, 2024
1 check passed

override fun deleteMember(profile: ServerProfile) {
template.updateFirst(
query(
Copy link
Member

Choose a reason for hiding this comment

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

updateFirst는 해당하는 문서를 찾았으면 이후로는 더 찾지 않아서 성능에 좋기 때문에 사용하신건지 궁금합니다!!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

성능차이는 없는 걸로 알고 있습니다! serverProfile은 중복되는 것 없이, 항상 하나만 존재해야 한다는 점을 고려해 가독성과 명확성을 위해 updateFirst를 사용했습니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API 상세 api 문서 enhancement 추가 기능 Server 서버 관련 기능 Test 테스트 코드
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants