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

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

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)
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
Examples
indexers
indexerindexersThis query will fail
For example, the query below would break, despite it being written to match what is shown on the explorer UI:
This query will pass
transactions
transactiontransactionsThis query will fail
This query will pass
Proposal