Skip to content

작업한 코드 리팩토링#104

Open
blubincod wants to merge 12 commits intodevelopfrom
refactor/103--code-cleanup
Open

작업한 코드 리팩토링#104
blubincod wants to merge 12 commits intodevelopfrom
refactor/103--code-cleanup

Conversation

@blubincod
Copy link
Contributor

@blubincod blubincod commented Dec 1, 2024

변경 사항

  • 신규 기능 추가
  • 버그 수정
  • 리펙토링
  • 테스트
  • 문서 업데이트
  • 기타

작업 내역

코드 리팩토링

  • Auth
  • Member
  • Chat
  • Payment
  • Reservation

공동 작업

  • 코드 중복 제거

테스트

  • 테스트 추가
  • 모든 테스트가 통과

다음 진행사항

참고

closes #103

@blubincod blubincod self-assigned this Dec 1, 2024
Copy link
Contributor

@zhdiddl zhdiddl left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

public void logout(Long memberId, HttpServletResponse response) {
Member member = getMemberById(memberId);

String key = "refresh_token:" + member.getId();
Copy link
Contributor

Choose a reason for hiding this comment

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

인자로 받은 memberId를 직접 사용하지 않은 이유가 있을까요?

Copy link
Contributor Author

@blubincod blubincod Dec 3, 2024

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