v2-subgraph
v2-subgraph copied to clipboard
How to deploy on hosted subgraph product ?
how can I do a "modern" deployment with @graphprotocol/graph-ts": "^0.16.0 version ? This subgraph seems to work only with the older version and whenever I want to deploy it at the hosted subgraph product I get The current version of graph-cli can't be used with mappings on apiVersion less than '0.0.5'
Thanks
me too please help me!!!
The current version of graph-cli can't be used with mappings on apiVersion less than '0.0.5'
This here solves the issue for me:
"devDependencies": {
"@graphprotocol/graph-cli": "^0.18.0",
"@graphprotocol/graph-ts": "0.27.0"
}
Then yarn