Skip to content

Conversation

cmwhited
Copy link
Collaborator

@cmwhited cmwhited commented Jul 28, 2025

Description

After discussion during the sync, we came to the agreement that having the extra @graphprotocol/typesync package for the mapping was additional, over-complicated devex with little gain.

So the decision was made to move the @graphprotocol/typesync functionality into the @graphprotocol/hypergraph package and export it out from there instead.

Resulting change is pretty simple:

  • before
import type { Mapping } from '@graphprotocol/typesync/Mapping'
  • after
import type { Mapping } from '@graphprotocol/hypergraph/mapping'

The type definition/api are exactly the same.

A quickfollow PR will be coming to use this new export in the create-hypergraph templates

Closes #392

@cmwhited cmwhited requested a review from nikgraf July 28, 2025 20:11
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.

Move Mapping type def and generator api into hypergraph

2 participants