Extract shared query parameter building for issue list operations
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- github
- 領域
- api
調査の方向性
Compare the query parameter building in GetRepositoryIssues.apply() and Repository.get_issues(), including their recover blocks, conditionals, and push calls. Read nearby model convenience methods to assess whether a shared helper fits the broader pattern. Done means the duplicated logic is consolidated without changing issue-list query behavior.
索引モデルが issue の本文から書いたものです。
説明
The query parameter building logic in GetRepositoryIssues.apply() and Repository.get_issues() is identical — same recover block, same conditionals, same push calls. If a new parameter is added, both sites must be updated in lockstep.
Repository.get_issues() can't delegate to GetRepositoryIssues.apply() because it has a template URL from the API response rather than owner/repo strings. It could potentially delegate differently, or the shared query param building could be extracted into a helper.
This is a pre-existing pattern in the codebase (other convenience methods on models also duplicate param building), so this may be worth addressing more broadly rather than just for issues.
- 主要言語
- Pony
- スター
- 7
- フォーク
- 2
- 平均マージ
- 2時間 26分
- マージ済み PR(30日)
- 7
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ponylang/github_rest_api のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
ponylang/github_rest_api#108 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
ponylang/github_rest_api#92 ·
ponylang/github_rest_api の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
microsoft/magentic-ui#588 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
alexgorbatchev/simple-ptt#3 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
CorrelAid/formtransform#44 ·