forked from graphprotocol/graph-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: refactor file data source tests and add new tests
- Loading branch information
1 parent
06bf21b
commit 375c423
Showing
6 changed files
with
349 additions
and
317 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
@@ -1,15 +1,10 @@ | ||
type IpfsFile @entity { | ||
type FileEntity @entity { | ||
id: ID! | ||
content: String! | ||
foo: Foo @relation | ||
} | ||
|
||
type IpfsFile1 @entity { | ||
type Foo @entity { | ||
id: ID! | ||
content: String! | ||
ipfs: FileEntity @derivedFrom(field: "foo") | ||
} | ||
|
||
type SpawnTestEntity @entity { | ||
id: ID! | ||
content: String! | ||
context: String! | ||
} |
This file contains 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 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
Oops, something went wrong.