graphprotocol / graphprotocol/indexer

Automatically resolve and index composition dependencies (and dependents?)

Open
#1,035 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
262
Forks
148
PR merge metrics
No merged PRs in 30d

Description

Subgraph composition introduces a new relationship type between data artifacts. Similar but different to how developers can graft a new subgraph onto an existing subgraph (unbounded depth), composition enables developers to re-use and extend data from one subgraph in another (1 layer deep max, but many subgraphs can use data from a single "core" subgraph).

The initial release of composition feature will expect Indexers to manual resolve and index composition relationships. Potential enhancements to streamline the Indexer experience might include:

  • Automatically resolve and index composition dependencies
  • Discovering children/dependent subgraphs
    • Automatically index composition dependents for a subgraph already indexed?

User validation is required on the latter enhancement, but Indexers (i.e. Pinax, StakeSquid) have already requested the former improvement.

Follow up with devs:

  • enforce 1 layer deep
  • enforce no grafting

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified. Start by clarifying how composition dependencies and dependents should be discovered, resolved, and indexed, then confirm the one-layer and no-grafting constraints with developers and users. Done should include an agreed scope and validation for the requested Indexer automation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.