graphprotocol / graphprotocol/graph-node

Add support for GraphQL query IDs in `GRAPH_NODE_EXPENSIVE_QUERIES_FILE`

Open
#4,214 1 comment 3 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.