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

Refactor : 맴버 스터디룸 조회,탈퇴 리펙토링 #48

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

Mouon
Copy link
Member

@Mouon Mouon commented Sep 4, 2024

요약 (Summary)

  • 스터디룸 탈퇴 더티체킹 활용하도록 save메서드를 지우고, 일부 로직을 정리했습니다.
  • 스터디룸 상세 조회시 select해와서 row단위로 값을 가져오던 것을 수정하였습니다!

🔑 변경 사항 (Key Changes)

  • MemberStudyroomService :
    - leaveStudyroom : 더티체킹 활용하도록 save메서드를 지우고, 일부 로직을 정리했습니다.
    - getStudyroomDetail : 이전에는 필요한 것만 select 했었는데, 확장에도 닫혀있고, 쓰려면 레포지토리 코드를 봐야한다는 점에서 비효율적이라고 판단하여 패치조인으로 수정했습니다.
    -MemberstudyroomRepository : getStudyroomDetail 을 패치조인으로 수정하였습니다!

📝 리뷰 요구사항 (To Reviewers)

  • 모든 수정사항의 기능은 동일합니다. 수정이 목적에 맞게 잘 이루어졌는지만 확인해주셔도 무방할 것 같습니다!

@Mouon Mouon added the refactoring Good for newcomers label Sep 6, 2024
Copy link
Member

@jsilver01 jsilver01 left a comment

Choose a reason for hiding this comment

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

고민하신 흔적이 보입니다!!!! 기능은 그대로 동작하니 머지해도 문제없을 것 같습니다 수고하셨습니다~

@jsilver01 jsilver01 merged commit 2bdc635 into develop Sep 23, 2024
@jsilver01 jsilver01 deleted the LINKODE-117-업데이트로직수정 branch September 23, 2024 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants