Ju4tCode
Ju4tCode
According to octokit, a workaround for GHES is needed. https://github.com/octokit/graphql.js/blob/dae781b027c19bcd458577cd9ac6ca888b2fdfeb/src/graphql.ts#L67-L72
Maybe a direct patch to endpoint url in graphql request function looks clearer. i will create a pr when i am free.
Hi @fau-st , i have just create a PR to fix this, but i do not have a GHES account to test this. Could you please test or review the...
I just added some tests and docs about the `base_url` option in readme.
You can pass them with kwargs: ```python github.paginate(github.rest.orgs.list_webhook_deliveries, org=hook_org, hook_id=hook_id) ```
It seem this `list_webhook_deliveries` api uses cursor/per_page pagination. Currently, githubkit's paginator is based on page/per_page. May be you should handle the pagination yourself now.
After taking a look at the latest [docs](https://docs.github.com/en/rest/using-the-rest-api/using-pagination-in-the-rest-api?apiVersion=2022-11-28#using-link-headers), GitHub can now uses the `link` header to do pagination. Octokit also supports this now ([ref](https://github.com/octokit/plugin-paginate-rest.js/blob/1c297ca5f89459051ee2b2fda2cb0eea481993fc/src/iterator.ts#L39-L41)). I will try to implement this.
> Issue is related to your change template I didn't pay attention to the template issue before. It seems i can solve this issue by replace the `[@$AUTHOR](https://github.com/$AUTHOR)` with simple...
@jamietanna hi, thanks for your reply. I'm wonder what should i change the template to? Because of the markdown usage outside of github site, we currently use `[@$AUTHOR](https://github.com/$AUTHOR)` as our...
I think this feature could be: more flexible pagination. > After taking a look at the latest [docs](https://docs.github.com/en/rest/using-the-rest-api/using-pagination-in-the-rest-api?apiVersion=2022-11-28#using-link-headers), GitHub can now uses the `link` header to do pagination. Octokit also...