graphprotocol / graphprotocol/indexer
Graph-indexer indexer rules get doesn't output valid json or yaml
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 262
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
This prevent pipping output to some other command.
This is caused by those print.
print.info(displayIndexingRules(outputFormat, onchainRules))
if (offchainRules) {
print.info('Offchain syncing subgraphs')
print.info(displayIndexingRules(outputFormat, offchainRules))
} else {
print.info(`Not syncing any subgraphs offchain`)
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The relevant entry point is the indexer rules get command; start by locating the handler containing the shown print.info calls. Run it with JSON and YAML output and pipe each result to a parser. Done means the output contains no status text that makes either format invalid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100