You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to fetch information regarding token0 or token1 in the TopPairs query, the request fails with the error: panic processing query: only derived fields can lead to multiple children here.
#1
Open
nand16041987 opened this issue
Jan 21, 2023
· 1 comment
When trying to fetch information regarding token0 or token1 in the TopPairs query, the request fails with the error: panic processing query: only derived fields can lead to multiple children here.
Example query to produce the error:
query TopPairs { pairs(first: 5, orderBy: volumeUSD, orderDirection: desc) { id name volumeUSD token0 { id } } }
When trying to fetch information regarding
token0
ortoken1
in the TopPairs query, the request fails with the error:panic processing query: only derived fields can lead to multiple children here
.Example query to produce the error:
query TopPairs { pairs(first: 5, orderBy: volumeUSD, orderDirection: desc) { id name volumeUSD token0 { id } } }
Originally posted by @ErlendHer in pancakeswap/pancake-subgraph#186
The text was updated successfully, but these errors were encountered: