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

Feat/user leave #31

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

hugehoo
Copy link

@hugehoo hugehoo commented Oct 14, 2024

회원 탈퇴 로직 개선

  • 탈퇴 전 유저가 메이커인지 일반 유저인지 구분
  • 구분 값에 따라 잔여 예약 있는지 조회하여 불린 값 리턴

Copy link
Collaborator

@Danden1 Danden1 left a comment

Choose a reason for hiding this comment

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

고생 많으셨습니다.


Mono<Boolean> findMakerPendingReservation(Long makerId);

Mono<Boolean> findUserPendingReservation(Long makerId);
Copy link
Collaborator

Choose a reason for hiding this comment

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

이 부분 parameter 이름이 makerId 보다는 userId 가 더 어울리는 것 같습니다!

Mono<Boolean> findUserPendingReservation(Long userId);

이면 좋을 것 같습니다!

Copy link
Collaborator

Choose a reason for hiding this comment

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

이 부분은 코틀린으로 옮긴 후에 수정해도 좋을 것 같습니다.

Copy link
Author

Choose a reason for hiding this comment

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

오 제가 잘못 적었네요ㅠ 넵넵 코틀린 수정시에 반영해두겠습니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants