Skip to content

Conversation

@shiyasmohd
Copy link
Contributor

@shiyasmohd shiyasmohd commented Sep 3, 2025

Currently when querying indexingStatuses with empty array, the response gives result with indexing status of all subgraph indexed by the graph-node. This PR solves this issue by retuning empty array as result.

Example query

{
  indexingStatuses(subgraphs: []) {
  ....
  } 
}

@shiyasmohd shiyasmohd self-assigned this Sep 3, 2025
@lutter lutter force-pushed the shiyasmohd/handle-empty-arr-in-indexing-status branch from 6df9684 to 8186249 Compare September 18, 2025 17:50
@lutter lutter merged commit 8186249 into master Sep 18, 2025
5 of 6 checks passed
@lutter lutter deleted the shiyasmohd/handle-empty-arr-in-indexing-status branch September 18, 2025 17:50
@snigdha920
Copy link

was using this to get a list of subgraph hashes deployed to my graph node, how can i do this now?

@shiyasmohd
Copy link
Contributor Author

you can get it using graphman info -s --all

@snigdha920
Copy link

you can get it using graphman info -s --all

thanks, is that the same as this graphql query to graphman?

query {
    deployment {
        __typename
        info {
            hash
            name
            isActive
            versionStatus
            nodeId
        }
    }
}

@shiyasmohd
Copy link
Contributor Author

Oh, Yes, You can use the graphaman graphql api too. The query is correct.

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.

3 participants