-
Notifications
You must be signed in to change notification settings - Fork 0
마이 페이지 기능 추가 #30
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
마이 페이지 기능 추가 #30
Conversation
Test: AWS 배포 테스트 위한 임시 PR
현재까지 개발된 사항 메인 브랜치 통합
리프레시 토큰 재발급 오류 수정
|
Claude의 전체 변경사항 및 관련 파일에 대한 리뷰: 개선된 사항:
주요 이슈:
관련 파일에 대한 영향 분석:
전반적인 의견: |
|
Claude의 전체 변경사항 및 관련 파일에 대한 리뷰: 개선된 사항:
주요 이슈:
관련 파일에 대한 영향 분석:
전반적인 의견: |
TTaiJin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다!
인준님이 구현하신 MyPageService에서 제가 구현한 DiaryService 메서드를 사용하는게 있는데 제가 리팩토링하면서 좀 변경해가지고 그 부분만 병합하고 수정하면 될 거 같습니다!
dnzp75
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
잘 작성해주신것 같습니다 고생하셨습니다!
| Pageable pageable | ||
| ); | ||
|
|
||
| Slice<Diary> getLikeDiarySliceByUserId( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
코드 일관성을 위해 서비스 층에서는 get~~ Repository층에서는 find~~ 메서드명을 이런식으로 맞추자라는 의견이 있었던 것 같은데, 혹시 맞을까요?
맞다면 메서드명 통일 시키는 것은 어떻게 생각하시나요?
| @Transactional(readOnly = true) | ||
| public PageResponse<DiaryResponseDto> getMyDiariesByCursor(Long userId, VisibilityType visibilityType, | ||
| Long cursorId, int size) { | ||
| List<VisibilityType> visibilities = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
사용자 흐름에서 VisibilityType이 null로 들어오는 경우가 있을까요?
3개의 타입에 대해서 전부 일일이 찾는 비용이 성능을 많이 잡아먹지 않을까?라는 생각과, 아예 Type을 지정해서 받는게 특정 Type만 찾는다는 점에서 성능에 좀 더 유리하지 않나? 라는 생각이 들었던 것 같습니다
| public Slice<UserThumbnailResponseDto> getFollowerSliceByUserId(Long userId, Long cursorId, Pageable pageable) { | ||
| boolean isFollowerQuery = true; | ||
| List<UserThumbnailResponseDto> content = getContent(isFollowerQuery, userId, cursorId); | ||
| return PageableUtil.checkAndCreateSlice(content, pageable); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
해당 함수안에 있는 로직을 저는 로직단에서 일일이 작성을 했었는데 Util클래스로 빼는게 가독성, 재사용성면에서 훨씬 좋은 것 같네요. 배워갑니다
|



📌 PR 제목
마이 페이지 기능 추가
✨ 변경 사항
🔍 변경 이유
✅ 체크리스트
📸 스크린샷 (선택)
📌 참고 사항