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

Add NextHref prop in IRenderListDataAsStreamResult #1453

Merged
merged 1 commit into from
Dec 4, 2020
Merged

Add NextHref prop in IRenderListDataAsStreamResult #1453

merged 1 commit into from
Dec 4, 2020

Conversation

Leomaradan
Copy link
Contributor

Category

  • [X ] Bug fix?
  • New feature?
  • New sample?
  • Documentation update?

What's in this Pull Request?

The IRenderListDataAsStreamResult interface did not have the NextHref property when used the pagination.

const renderListDataParams: IRenderListDataParameters = {
  ViewXml: "<View><RowLimit Paged='TRUE'>100</RowLimit></View>",
};

const data = await list.renderListDataAsStream(renderListDataParams);

data.NextHref // Error: Property 'NextHref' does not exist on type 'IRenderListDataAsStreamResult'.

@juliemturner
Copy link
Collaborator

Thanks for the update, we'll have a look at try and get it in the next release.

@juliemturner juliemturner added this to the 2.0.13 milestone Nov 24, 2020
@patrick-rodgers
Copy link
Member

Thanks! Appreciate the update!

@patrick-rodgers patrick-rodgers merged commit be2153b into pnp:version-2 Dec 4, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants