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

[SDK-3990] Fix PaginatedResult.next() behaviour when no next page #1543

Merged
merged 2 commits into from
Dec 11, 2023

Conversation

lawrence-forooghian
Copy link
Collaborator

It's meant to return null, not undefined. See commit messages for more details.

Resolves #1542.

@github-actions github-actions bot temporarily deployed to staging/pull/1543/features December 11, 2023 15:29 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1543/bundle-report December 11, 2023 15:30 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1543/typedoc December 11, 2023 15:30 Inactive
@lawrence-forooghian lawrence-forooghian changed the title Fix PaginatedResult.next() behaviour when no next page [SDK-3990] Fix PaginatedResult.next() behaviour when no next page Dec 11, 2023
It is meant to return `null` (per TG4 and our documentation comments),
but was returning `undefined`.

Resolves #1542.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

PaginatedResult.next() is returning undefined instead of null when there's no next page
2 participants