github-tools / github-tools/github
[Feature Request] Ability to fetch a single page of items in a list
- 主要言語
- JavaScript
- スター
- 3.8k
- フォーク
- 809
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Would be nice to be able to fetch only a page of repositories, repo commits, and other lists instead of fetching the entire thing every time. Currently they call into _requestAllPages which automatically fetches everything from github, which can take awhile for long lists.
@mtscout6 suggested on gitter that a generator function would be a good way to accomplish this.
If there's a good direction to go in, I can probably work on this.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by tracing how repository, commit, and other list methods call _requestAllPages. Review the suggested generator-function direction and determine how callers can request a single page without changing existing full-fetch behavior. Done means list APIs support bounded pagination and the behavior is clear for long GitHub lists.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- api
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100