Need option to paginate the results based on skiptoken parameter#148
Closed
samrajcse wants to merge 2 commits intomicrosoftgraph:devmicrosoftgraph/msgraph-sdk-java:devfrom
Closed
Need option to paginate the results based on skiptoken parameter#148samrajcse wants to merge 2 commits intomicrosoftgraph:devmicrosoftgraph/msgraph-sdk-java:devfrom
samrajcse wants to merge 2 commits intomicrosoftgraph:devmicrosoftgraph/msgraph-sdk-java:devfrom
Conversation
From the documentation, the paginating the file using callback won't work in the standalone program. We need to pass the skip token based on the new request. So added the skip token functionality.
Adding skip token option for pagination
Contributor
|
This pull request has conflicting changes, the author must resolve the conflicts before this pull request can be merged. |
Member
|
Thank you immensely for the pull request and for your patience. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #233 ??
I would like to paginate the content based in skiptoken and not with pagination object. I do pagiantion on demand. So i need the option to pass the skiptoken as like top paramter. So added the option to add skiptoken in the reuest.
Now I can do like this to paginate.
Sample code:
do {