graphprotocol / mission-control-indexer

Technical indexer documentation and infrastructure templates for the Mission Control testnet
21 stars 4 forks source link

Support File or In-line for Cost Model or Variables #162

Open joesixpack opened 3 years ago

joesixpack commented 3 years ago

To be consistent with the cost variables, have cost moodel support in-line json instead of reading a file. Or have both support reading files.

czarly commented 3 years ago

how about this? Is this helpful?

graph indexer cost set variables <subgraph_id> $(cat globals.json)

koen84 commented 3 years ago

@czarly that's a workaround. I agree it would be good to have built-in support.