You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most (but not all) list endpoints support pagination, and take opt *ListOptions as the last parameter (or another specific Options type that embeds ListOptions).
Some List* endpoints do not take a *ListOptions or equivalent parameter, and therefore it's not possible to perform pagination.
It's a breaking API change, but we should fix it sooner rather than later.
One such case was the PullRequestsService.ListReviews method, reported by @sminnee in #635.
Most (but not all) list endpoints support pagination, and take
opt *ListOptionsas the last parameter (or another specific Options type that embedsListOptions).Some
List*endpoints do not take a*ListOptionsor equivalent parameter, and therefore it's not possible to perform pagination.It's a breaking API change, but we should fix it sooner rather than later.
One such case was the
PullRequestsService.ListReviewsmethod, reported by @sminnee in #635.Additional cases I found just by looking briefly at the code include
PullRequestsService.ListReviewCommentsandAuthorizationsService.ListGrants. There are probably more, I haven't done an exhaustive search.The task is twofold:
libraryVersionup by one.Also, we should be more mindful of this potential pitfall when doing reviews in the future. /cc @gmlewis