Skip to content

Conversation

@rinarina0429
Copy link
Member

@rinarina0429 rinarina0429 commented Jul 1, 2025

Related Issue

Key Changes

  • 다른 api에서는 최신순, 오래된순 관계없이 초기호출 때에는 lastNovelId를 0으로 설정하면 됐었는데, 서재 조회 시에는 최신순 초기 호출 때에 lastNovelId를 9999로 설정했어야 해, 이를 수정하였습니다.
  • 이전 pr에서 SORT TYPE을 enum으로 관리하면 좋을 것 같다는 리뷰를 남겨주셔서 sortCriteria를 사용하도록 방식을 변경하였습니다.

To Reviewers

References

@rinarina0429 rinarina0429 self-assigned this Jul 1, 2025
@rinarina0429 rinarina0429 marked this pull request as draft July 1, 2025 10:24
@rinarina0429 rinarina0429 marked this pull request as ready for review July 1, 2025 12:10
Copy link
Contributor

@GiJungPark GiJungPark left a comment

Choose a reason for hiding this comment

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

확인 부탁드립니다 :)


boolean isOwner = visitor.getUserId().equals(ownerId);
boolean isAscending = sortType.equalsIgnoreCase(SORT_TYPE_OLDEST);
boolean isAscending = sortCriteria == OLD;
Copy link
Contributor

Choose a reason for hiding this comment

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

p3; SortCriteria ENUM에 isOld메서드를 만들어서 검증하는게 더 좋을것 같아요!
static import 인데, OLD 여서 헷갈릴 수 있을것 같아요 :)

Copy link
Contributor

@EunjeongHeo EunjeongHeo left a comment

Choose a reason for hiding this comment

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

확인했습니다! 수고하셨습니닷

@rinarina0429 rinarina0429 merged commit 1ff0ff0 into dev Jul 5, 2025
2 checks passed
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.

[FIX] 서재 조회 무한스크롤 방식 수정

4 participants