Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

support querying multiple subgraph's features in single query #6142

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

Open
shiyasmohd wants to merge 1 commit into master
base: master
Choose a base branch
Loading
from shiyasmohd/subgraph-features-arr

Conversation

Copy link
Contributor

@shiyasmohd shiyasmohd commented Sep 3, 2025
edited
Loading

Currently to fetch a subgraph's features using the index-node api, only one deployment's data can be queried.
This PR helps to fetch multiple subgraph's features in a single query, similar to indexingStatuses

Example query:

subgraphFeatures(subgraphs: [$deployment]) {
 subgraph
 ...
}

@shiyasmohd shiyasmohd force-pushed the shiyasmohd/subgraph-features-arr branch 2 times, most recently from ba01d82 to 5ec3f8f Compare September 3, 2025 08:35
@shiyasmohd shiyasmohd self-assigned this Sep 3, 2025
@shiyasmohd shiyasmohd changed the title (削除) support querying multiple subgraphs' features in single query (削除ここまで) (追記) support querying multiple subgraph's features in single query (追記ここまで) Sep 3, 2025
requests: [PublicProofOfIndexingRequest!]!
): [PublicProofOfIndexingResult!]!
subgraphFeatures(subgraphId: String!): SubgraphFeatures!
subgraphFeatures(subgraphs: [String!]!): [SubgraphFeatures!]!
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change - existing queries for subgraph features will break after this change. I am not sure how big a deal that is and how many people are using this, but it could be a problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@lutter lutter lutter left review comments

@incrypto32 incrypto32 Awaiting requested review from incrypto32

At least 1 approving review is required to merge this pull request.

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /