Skip to content
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

Additional field request: Subgraph.currentVersionIpfsHash #173

Open
fordN opened this issue Mar 10, 2022 · 1 comment
Open

Additional field request: Subgraph.currentVersionIpfsHash #173

fordN opened this issue Mar 10, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@fordN
Copy link
Contributor

fordN commented Mar 10, 2022

Background

The subgraph search on the explorer leaves a lot to be desired. Most indexers (and likely other participants too) use subgraph deployment ids as the identifier for a subgraph, so the lack of deployment id based search functionality feels like a glaring hole.

Proposed Solution

Until fulltext search functionality is able to span across multiple entity types we are limited to searching on Subgraph entity fields, so to support filtering subgraphs based on their deployment id I'd like to propose adding a new field to the Subgraph entity type which would contain the ipfs hash of the latest version deployment for that subgraph: Subgraph.currentVersionIpfsHash. Then this field can be included in the subgraphSearch fulltext search field here.

@fordN fordN added the enhancement New feature or request label Mar 10, 2022
@fordN
Copy link
Contributor Author

fordN commented Mar 10, 2022

While were at it there are a few other string fields in the Subgraph entity type that could be useful to include in the subgraphSearch field:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant