graphprotocol / graphprotocol/graph-node
Add support for GraphQL query IDs in `GRAPH_NODE_EXPENSIVE_QUERIES_FILE`
Open
@tilacog is already working on this.
Since Nov 29, 2022.
Stale
- Dominant language
- Rust
- Stars
- 3.2k
- Forks
- 1.1k
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 1
Description
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Graph Node only supports full GraphQL queries to be included in GRAPH_NODE_EXPENSIVE_QUERIES_FILE.
What is the expected behavior?
Users should also be able to identify GraphQL queries by the query_id (also known as "shape hash") obtained from qlog.
For instance, each line could be parsed either as a complete GraphQL query or the query hash in the form:
query_id:a13e79928c47834f-f6ed187de01c7ec8
Contributor guide
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.