Skip to content

Conversation

@SilasKenneth
Copy link
Member

No description provided.

@SilasKenneth SilasKenneth marked this pull request as ready for review September 1, 2022 11:50
@SilasKenneth SilasKenneth changed the title WIP: Add page iterator support. Add page iterator support. Sep 1, 2022
Copy link
Contributor

@Ndiritu Ndiritu left a comment

Choose a reason for hiding this comment

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

Must a dev have models for them to use the Page Iterator?
We seem to handle the case that a Page Iterator is initialised with a response object as an associative array, meaning the callback provided should accept an array representing a single object. However, after the next page is retrieved, the request adapter will have deserialized the objects in the value property.

SilasKenneth and others added 4 commits September 15, 2022 06:57
Co-authored-by: Philip Gichuhi <pgichuhi@microsoft.com>
Co-authored-by: Philip Gichuhi <pgichuhi@microsoft.com>
@SilasKenneth SilasKenneth merged commit bf88702 into dev Sep 27, 2022
@SilasKenneth SilasKenneth deleted the feat/page-iterator branch September 27, 2022 12:43
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.

3 participants