Skip to content

Migrations for specVersion 0.0.4#724

Merged
tilacog merged 2 commits intomainfrom
tiago/migrate-spec-version-0-0-4
Apr 1, 2022
Merged

Migrations for specVersion 0.0.4#724
tilacog merged 2 commits intomainfrom
tiago/migrate-spec-version-0-0-4

Conversation

@tilacog
Copy link
Copy Markdown
Contributor

@tilacog tilacog commented Aug 13, 2021

This PR adds a migration for upgrading specVersion 0.0.2 (and the non-canonical 0.0.3) to 0.0.4.

This new specification version enforces that all used features must be listed in the features key of the subgraph's manifest.

Since feature detection and validation occur inside a graph-node instance during deploy time, subgraphs that use any feature are expected to end with an invalid subgraph.yml, as graph-cli won't be able to infer and fill the features section of the manifest file automatically.

@tilacog tilacog requested review from evaporei and leoyvens August 13, 2021 20:52
@tilacog tilacog force-pushed the tiago/migrate-spec-version-0-0-4 branch from 97c9b0f to 0647be2 Compare August 13, 2021 21:09
@tilacog tilacog force-pushed the tiago/migrate-spec-version-0-0-4 branch from 0647be2 to b4c6e29 Compare March 23, 2022 23:15
@tilacog tilacog removed the request for review from leoyvens March 23, 2022 23:15
tilacog added a commit that referenced this pull request Mar 24, 2022
Migrations for `specVersion 0.0.4` can be found in PR #724
#724
@tilacog tilacog requested review from evaporei and removed request for evaporei March 29, 2022 23:04
@tilacog tilacog force-pushed the tiago/migrate-spec-version-0-0-4 branch 2 times, most recently from 7d67801 to c26f150 Compare March 31, 2022 20:50
@tilacog
Copy link
Copy Markdown
Contributor Author

tilacog commented Mar 31, 2022

Fixed rebase conlflicts.

@evaporei
Copy link
Copy Markdown
Contributor

evaporei commented Apr 1, 2022

@tilacog You can do a git rebase and it should work now 😊

@tilacog tilacog force-pushed the tiago/migrate-spec-version-0-0-4 branch from c26f150 to 84c8f8b Compare April 1, 2022 17:25
@tilacog tilacog merged commit 9eb9293 into main Apr 1, 2022
adairrr pushed a commit to adairrr/terra-graph-cli that referenced this pull request May 5, 2022
@saihaj saihaj deleted the tiago/migrate-spec-version-0-0-4 branch May 12, 2023 15:42
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