graphprotocol / graphprotocol/indexer
Feature: Allow deleting subgraph data when deleting the index rule
Open
@fordN is already working on this.
Since Jul 27, 2022.
enhancement
indexer-agent
indexer-cli
p1
- Dominant language
- TypeScript
- Stars
- 262
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
When Indexers decide not to index a subgraph anymore, they need to:
-
remove indexing rule
- currently only possible by deleting rows in db
- in development: cli command to delete rule (https://github.com/graphprotocol/indexer/tree/jannis/delete-indexing-rules/packages/indexer-cli)
-
remove indexed data
- this is only possible via db script (https://gist.github.com/lutter/b74ee0ae20d1ca2614b9a060ff6df2d5)
It would be great if using the cli delete command, we could also delete the graph data.
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.
Assessment
This issue has not been assessed yet.