KnpLabs / KnpLabs/php-github-api
Allow specifying custom parameters
- 主要言語
- PHP
- スター
- 2.2k
- フォーク
- 587
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
The library locks you into providing only specific parameters. For example, `\Api\CurrentUser`:

The `/user/repos` endpoint has more parameters than just these, though, such as `per_page`, which is now being locked to 30 because users cannot specify a custom value.
If there *is* however a way to specify custom options without having to do any hacky things with `$client->getHttpClient`, I'd love to hear.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by examining Api\CurrentUser and how requests to /user/repos accept and pass parameters; the issue specifically mentions the client’s getHttpClient as a possible workaround. Determine how custom options such as per_page should be exposed, then verify that callers can override the current fixed value without relying on the underlying HTTP client.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- php
- 領域
- api
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100