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

Support modular paging #1996

Merged
merged 71 commits into from
Nov 28, 2023
Merged

Support modular paging #1996

merged 71 commits into from
Nov 28, 2023

Conversation

MaryGao
Copy link
Member

@MaryGao MaryGao commented Aug 29, 2023

fixes #1856

This is the initial version for modular paging. The whole discussion is under above issue.

  • Basic paging support
  • Disable paging & LRO for non-branded RLC/Modular

We build paging helpers and types in SDK side and keep the similar interface with HLC paging with slightly differences:

  • Remove the maxpagesize in PageSetting
  • Change the return type for byPage to TPage & { continuationToken?: string; }

Advanced paging cases will be covered in another issue #2134.

Copy link
Member

@qiaozha qiaozha left a comment

Choose a reason for hiding this comment

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

LGTM

@MaryGao
Copy link
Member Author

MaryGao commented Nov 23, 2023

Jeff's approval:
image

MaryGao and others added 3 commits November 23, 2023 11:15
…pespec-ts/src/models/pagingTypes.ts

Co-authored-by: Deyaaeldeen Almahallawi <[email protected]>
…pespec-ts/src/models/pagingTypes.ts

Co-authored-by: Deyaaeldeen Almahallawi <[email protected]>
@MaryGao MaryGao requested a review from deyaaeldeen November 23, 2023 04:52
Copy link
Member

@deyaaeldeen deyaaeldeen left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for addressing all feedback!

@MaryGao MaryGao merged commit 0e05027 into Azure:main Nov 28, 2023
28 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.

[Modular] Implement Pagination
5 participants