go-gh icon indicating copy to clipboard operation
go-gh copied to clipboard

Allow RESTClient and GQLClient to support automatic pagination

Open samcoe opened this issue 3 years ago • 1 comments

Pagination is currently not possible using RESTClient and takes lots of manual work using GQLClient. We should support this feature for both. Initial implementation idea is to add a pagination options to ClientOptions which would enable this for both clients and be a noop for the HTTPClient.

samcoe avatar Jan 28 '22 10:01 samcoe

Similar to cli/cli#1268. Perhaps there's a common solution for both. What @mislav suggested is a good idea. I would think with REST an array could simply be amended with subsequent elements. GraphQL might be more tricky.

heaths avatar May 09 '22 04:05 heaths