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

[Rest Level Client] Support pagination #1000

Closed
joheredi opened this issue Jun 1, 2021 · 1 comment
Closed

[Rest Level Client] Support pagination #1000

joheredi opened this issue Jun 1, 2021 · 1 comment
Assignees

Comments

@joheredi
Copy link
Member

joheredi commented Jun 1, 2021

Design a function helper that can help users handle pageable operations

@joheredi joheredi added this to the [2021] July milestone Jun 1, 2021
@joheredi joheredi self-assigned this Jun 1, 2021
@joheredi joheredi mentioned this issue Jun 23, 2021
21 tasks
@joheredi
Copy link
Member Author

Initial work to add a core package to handle the logic of pagination is in Azure/azure-sdk-for-js#15831

Once that work is merged we can implement the code-gen part which consist on generating a wrapper that feeds the helper nextLinkName and itemName if provided

Here is an example of how the generated code would look like:
https://github.com/Azure/azure-sdk-for-js/blob/9e208a2efe159308eec411748900f768ae1ef817/sdk/agrifood/agrifood-farming-rest/src/farmBeats.ts#L1115-L1145

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

No branches or pull requests

2 participants