Bug - Schema names incongruent between actual vs. explorer web UI
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- graphql, typescript
調査の方向性
Explorer の Web UI の Schema セクションから始め、この Issue の indexers と transactions の例を使って、表示される名前を graph-network-mainnet subgraph のクエリ可能なスキーマと比較します。他の subgraph と schema についても同じ不一致がないか確認します。表示される名前がユーザーがクエリできるフィールドと一致し、失敗するサンプルクエリが誤解を招くものではなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Overview
Below are 2 examples I found where the schema name of a subgraph are incongruent between the actual subgraph (i.e. what can be queried with a connection) vs. what is shown on the explorer web UI.
Impact
- It makes the subgraph look broken
- It wastes time debugging the issue
Examples
indexers

- URL: https://thegraph.com/explorer/subgraph/graphprotocol/graph-network-mainnet?query=Effective%20cuts
- Web UI: In the "Schema" section, it is noted as
indexer - Real Connection: requires
indexers
This query will fail
For example, the query below would break, despite it being written to match what is shown on the explorer UI:
indexer_query = gql(
"""
query {
indexer {
id,
stakedTokens,
delegatedStakeRatio
}
}
"""
)
This query will pass
indexer_query = gql(
"""
query {
indexers {
id,
stakedTokens,
delegatedStakeRatio
}
}
"""
)
transactions

- URL: https://thegraph.com/explorer/subgraph/graphprotocol/graph-network-mainnet?query=Effective%20cuts
- Web UI: In the "Schema" section, it is noted as
transaction - Real Connection: requires
transactions
This query will fail
query = gql(
"""
query {
transaction {
id,
blockNumber
}
}
"""
)
This query will pass
query = gql(
"""
query {
transactions {
id,
blockNumber
}
}
"""
)
Proposal
- Make sure that the schema named found in the Web UI is congruent (==) to what a user would query
- Check all other subgraphs + schemas for similar issues (I only found 2 in a few minutes of working on this, so my assumption is it's a larger issue)
- 主要言語
- TypeScript
- スター
- 82
- フォーク
- 47
- 平均マージ
- 7日 3時間
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
graphprotocol/graph-network-subgraph のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
graphprotocol/graph-network-subgraph#270 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
graphprotocol/graph-network-subgraph#249 · コメント 5 件 ·
graphprotocol/graph-network-subgraph の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
stellar/stellar-dev-skill#151 ·
メンテナーはふだん 1 日以内に返信
-
area:arcade game ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
fderuiter/deruiter.dev#2281 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
scope: data grid type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
fix(frontend): correct VITE_IS_DEVELPOMENT typo in shared/app.ts and align dev environment flagsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
vicharanashala/ajrasakha#1439 ·
メンテナーはふだん 1 日以内に返信
-
Add: TV5Monde Asieオープンapproved check:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信