Skip to content

Add graph-indexed header #5710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Add graph-indexed header #5710

merged 1 commit into from
Nov 25, 2024

Conversation

Theodus
Copy link
Member

@Theodus Theodus commented Nov 20, 2024

This adds a graph-indexed header to query responses. The header value contains the block hash, number, and timestamp for the most recently processed block in the subgraph. This avoids the need to rewrite all queries to include _meta { block { hash number timestamp } } in either the indexer-service or gateway.

Related: edgeandnode/gateway#900, graphprotocol/indexer-rs#494

@Theodus Theodus merged commit 4ff59df into master Nov 25, 2024
6 checks passed
@Theodus Theodus deleted the theodus/block-info branch November 25, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants