fix: sample-queries.txt uses incorrect root field name 'bundles' instead of 'olmbundles'
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 90/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- graphql
- 領域
- api
調査の方向性
internal/catalogd/graphql/sample-queries.txt を開き、82、121、145、163 行付近にある影響を受ける 4 つのクエリ例を確認します。それらのルートフィールド名を、示されている olm.bundle スキーマの命名と比較し、必要に応じて例を更新して、誤った bundles( 参照が残っていないことを確認します。
索引モデルが issue の本文から書いたものです。
説明
Summary
The file internal/catalogd/graphql/sample-queries.txt contains several GraphQL query examples that reference the root field name bundles, but the dynamic schema generator derives the field name from the schema name (olm.bundle → olmbundles). As written, those sample queries will fail for users.
Affected lines (approx.)
- Line 82:
bundles(limit: 5) { - Line 121:
bundles(limit: 20) { - Line 145:
bundles(limit: 10) { - Line 163:
bundles(limit: 10) {
Suggested fix
Replace all occurrences of bundles( with olmbundles( in internal/catalogd/graphql/sample-queries.txt.
References
- Downstream PR that introduced this file: https://github.com/openshift/operator-framework-operator-controller/pull/738
- Review comment that surfaced this issue: https://github.com/openshift/operator-framework-operator-controller/pull/738#discussion_r3307700386
Reported by @grokspawn.
- 主要言語
- Go
- スター
- 213
- フォーク
- 85
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 36
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
operator-framework/operator-controller のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
-
epic epic/v1-api lifecycle/stale v1.x
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
operator-framework/operator-controller#2727 · コメント 2 件 ·
-
operator-framework/operator-controller#2686 · コメント 2 件 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
operator-framework/operator-controller#2680 · コメント 2 件 · リアクション 1 件 ·
operator-framework/operator-controller の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
-
enhancement needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
kind/cleanup
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
kubernetes-sigs/kueue#15947 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sympozium-ai/sympozium#627 ·