graphql-hive / graphql-hive/console

expose subgraph introduction date for a target/graph via the GraphQL API

Open
#8,408 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
483
Forks
145
Avg merge
2d 5h
Merged PRs (30d)
65

Description

We currently have no way of providing information on when a subgraph was first published/added to a supergraph.

We do not store this information, but could compute it based on existing postgres database state, however, the query would not be straight-forward.

For newer projects it would make sense to actively track it in new database tables, to reduce computation overhead.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the GraphQL API entry points and the existing PostgreSQL database state used for subgraph and supergraph data. Determine whether the introduction date should be computed from existing records or tracked in new database tables, then expose that date through the target/graph API and verify the result for newer projects.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, postgresql, typescript
Domain
api, backend-api-design, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.