Skip to content

커서 페이징 최적화 #51

Description

@wonslee

💡 Page가 아닌 Slice를 사용할 예정
이유: Page는 Slice를 상속받고, totalElements 필드를 따로 갖고 있음. 그런데 우리는 대부분의 API에서 커서 페이징을 사용하고 totalElements 필드 값을 필요로 하지 않음
필요하다면 따로 카운트 쿼리를 실행

❓아예 새로운 Response객체를 만들지 고민중(SliceResponse?)
클라이언트측에서 SliceRepsonse에 맞게 응답받는게 베스트라고 생각

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions