Skip to content

Conversation

leoyvens
Copy link
Collaborator

@leoyvens leoyvens commented Jul 29, 2019

See graphprotocol/graph-node#1023. The old format is immediately unsupported, but we print a helpful error message.

One change that was not in the plan is the path to the codegen'ed files. The template classes now all go in generated/templates.ts and their ABIs in generated/templates/<template_name>/<abi_name>.ts.

This also does a migration to bump the spec version to 0.0.2, since this is a breaking change.

@leoyvens leoyvens requested a review from a team July 29, 2019 18:10
@leoyvens
Copy link
Collaborator Author

@Jannis comments addressed.

Copy link
Collaborator

@fordN fordN left a comment

Choose a reason for hiding this comment

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

Looks good! I just noticed a very minor tense typo, see my comment.

@leoyvens leoyvens force-pushed the leo/top-level-templates branch from 620c0af to cd5740d Compare September 2, 2019 14:38
@leoyvens leoyvens force-pushed the leo/top-level-templates branch from cd5740d to f29d933 Compare September 2, 2019 14:41
@leoyvens
Copy link
Collaborator Author

leoyvens commented Sep 2, 2019

Rebased, and fixed a bug with the output directory of template mappings. @Jannis could you review again?

@leoyvens leoyvens merged commit b45ca1c into master Sep 2, 2019
@leoyvens leoyvens deleted the leo/top-level-templates branch September 2, 2019 16:23
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.

3 participants