graphprotocol / mission-control-curator

15 stars 58 forks source link

Type UniswapFactory has no field pairs but the Default example query includes it #485

Open coffeetimes opened 4 years ago

coffeetimes commented 4 years ago

https://thegraph.com/explorer/subgraph/uniswap/uniswap-v2 Not a big deal but the Default example query includes pairs field that is not defined in UniswapFactory.

{ uniswapFactories(first: 5) { id pairCount pairs { id } totalVolumeUSD } tokens(first: 5) { id symbol name decimals } }

And the Playground shows the error "Type UniswapFactory has no field pairs".

tehn-r commented 3 years ago

@KaitoYanai I think it is a usual thing for most subgraphs. At least in my case almost each example query has such kind of issue. Just insert this as a record in your report.