sushiswap / sushiswap-subgraph

Sushiswap Subgraph
https://thegraph.com/explorer/subgraph/sushiswap/sushiswap
MIT License
150 stars 257 forks source link

graph-cli not compatible with apiVersion #86

Open SaberDoTcodeR opened 2 years ago

SaberDoTcodeR commented 2 years ago

Hi, I face this issue when I try to build the exchange subgraph.

$ yarn run codegen
  yarn run v1.22.10
  graph codegen subgraph.yaml
  The current version of graph-cli can't be used with mappings on apiVersion less than '0.0.5'
ghost commented 2 years ago

you have to update your graph ts and cli

justincavery commented 2 years ago

I had a similar issue, upgrading the graph ts and cli then breaks the subgraph code when building.

himanshuBlockchain commented 2 years ago

Same Issue with me @unicardano Could u help me in same.