-
Notifications
You must be signed in to change notification settings - Fork 233
Subgraph Composition : Fix graph init for composed subgraphs #1920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
fddfea6
Fix subgraphs without abi field failing to build
incrypto32 6b9f04b
Fix graph init for composed subgraphs
incrypto32 b065646
Add changeset
incrypto32 735b565
Fix validation not working
incrypto32 600280d
Support declared calls in manifest
incrypto32 3a75a7f
Lint fix
incrypto32 a074696
Address review comments
incrypto32 ce24548
Dont allow adding new contracts when subgraph is a composed subgraph
incrypto32 b7b6bbf
Allow init of subgraph datasource subgraphs without the interactive mode
incrypto32 2ae4c2e
Reduce code duplication between subgraph datasource and normal data s…
incrypto32 9ed22cf
prevent using --from-contract and --from-source-subgraph flags together
incrypto32 7683939
cli: validate protocol and source subgraph relationship
incrypto32 40dbe07
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] ff2430c
change flag name for source subgraph
incrypto32 08cfdd1
Refactor manifest validation util functions
incrypto32 808d02f
get start block from source manifest
incrypto32 e5ea2bd
set fromSubgraph to be default value for graph init in interactive mode
incrypto32 4edbedc
Merge branch 'krishna/comp-fixes' of github.com:graphprotocol/graph-t…
incrypto32 7e95705
fix protocol flag validation
YaroShkvorets 2d6a7a9
Add init test for subgraphs
incrypto32 dbaea17
Fix error message
incrypto32 36cf7e3
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@graphprotocol/graph-cli': minor | ||
| --- | ||
|
|
||
| Add support for subgraph datasource in `graph init` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -63,6 +63,7 @@ type ContractABI { | |
| type EntityHandler { | ||
| handler: String! | ||
| entity: String! | ||
| calls: JSON | ||
| } | ||
|
|
||
| type Graft { | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.