Skip to content

fix: drop the other cursor in GetNextPage - #680

Merged
Justin Hammond (Justintime50) merged 3 commits into
masterfrom
fix_next_page_cursor
Nov 30, 2026
Merged

Justin Hammond (Justintime50) merged 3 commits into
masterfrom
fix_next_page_cursor

Conversation

@Justintime50

@Justintime50 Justin Hammond (Justintime50) commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Description

GetNextPage built the next page's params from the original All filters and only set BeforeId, so a list started with AfterId sent both before_id and after_id on the next page, which the API rejects with a 400 ("Only one of before_id and after_id may be specified."). Every BuildNextPageParameters that sets BeforeId now clears AfterId first, and the batch one (which pages with AfterId) clears BeforeId. Child users only page with AfterId, so they're unchanged.

Also bumps the version to 7.13.2 and moves the changelog entry under v7.13.2.

Testing

  • The unit tests pass on net10.0, and the StyleCop build has no errors.

Pull Request Type

  • Bug fix (non-breaking change which fixes an issue)

@Justintime50
Justin Hammond (Justintime50) marked this pull request as ready for review November 30, 2026 19:14
@Justintime50
Justin Hammond (Justintime50) merged commit 1b453de into master Nov 30, 2026
19 checks passed
@Justintime50
Justin Hammond (Justintime50) deleted the fix_next_page_cursor branch November 30, 2026 20:17
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.

2 participants