graphprotocol / graphprotocol/graph-network-subgraph
Subgraph should expose field like `lastUpdatedAt` to identify if new data is synced
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 82
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
Currently subgraph clients has no way to identify if any update is made in entities synced.
Field like lastUpdatedAt can be an indication to client that new data is synced by subgraph.
This will help subgraph clients to make decision on when to query data.
This field can exists at subgraph level possible under _Meta_ entity.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named in the issue. Start by locating the subgraph metadata entity and the sync or update path, then determine how the proposed timestamp should be exposed. Done means clients can reliably use the field to detect newly synced data, with coverage in the repository's existing tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100