Skip to content

Does one typically use the graph-cli to generate your schema.graphql #255

Discussion options

You must be logged in to vote

Are you suggesting that Ponder should have an equivalent for the graph init and/or graph add commands? In other words, a helper/tool that "guesses" what the app's schema.graphql should look like based on the ABIs of the contracts that are added? Here's the relevant code from graph-cli.

If yes, I haven't given this much thought but agree that it's a problem. FWIW, I'm generally not a fan of CLI commands that modify version controlled files, so I'm wary of going down the same exact path as graph-cli. One idea would be a tiny web tool where you can paste an ABI and it spits out a recommended schema.graphql.

It's also worth noting that Ponder shines most in scenarios where it's actually not u…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@salieflewis
Comment options

@typedarray
Comment options

Answer selected by typedarray
@salieflewis
Comment options

@typedarray
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants