Skip to content

Conversation

cmwhited
Copy link
Collaborator

Description

Now that the typesync package has been built out (changes and fixes to come, obviously) and published to npm, this PR utilizes the exported Mapping type and generateMapping function from this package in the hypergraph and hypergraph-react packages.

As well as an updated generated mapping -> mapping.ts file function.

And some other fixes.

Once this gets reviewed, we will need to publish new versions of the @graphprotocol/hypergraph (maybe a major version since the Mapping type is removed? not sure how strict we want to be) and @graphprotocol/hypergraph-react packages. After these publishes are made, we should update the hypergraph-app-template repo to use the latest versions and the published @graphprotocol/typesync package for the mapping type def

@cmwhited cmwhited requested a review from nikgraf July 17, 2025 22:21
"dependencies": {
"@graphql-typed-document-node/core": "^3.2.0",
"@graphprotocol/grc-20": "^0.21.6",
"@graphprotocol/typesync": "workspace:*",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can typesync depend on typesync here?

@cmwhited cmwhited merged commit 5d2b6a6 into main Jul 22, 2025
6 checks passed
@cmwhited cmwhited deleted the chris.whited/feat-typesync-mapping-use branch July 22, 2025 18:25
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.

2 participants