Skip to content

Commit

Permalink
Merge pull request #9 from graphprotocol/juanmardefago/file-data-sour…
Browse files Browse the repository at this point in the history
…ces-refactor

fix: wrong derivedFrom
  • Loading branch information
juanmardefago authored Jan 23, 2024
2 parents 0905cfb + 5e2812b commit c122e7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,9 @@ type SubgraphMetadata @entity(immutable:true) {
"Subgraph metadata ipfs hash"
id: ID!
"Subgraph that reference this metadata. For compatibility purposes. For the full list use subgraphs"
subgraph: Subgraph @derivedFrom(field:"metadata")
subgraph: SubgraphMetadataUpdatedEvent @derivedFrom(field:"metadata")
"Subgraphs that reference this metadata"
subgraphs: [Subgraph!]! @derivedFrom(field:"metadata")
subgraphs: [SubgraphMetadataUpdatedEvent!]! @derivedFrom(field:"metadata")
"Short description of the subgraph"
description: String
"Image in string format"
Expand Down Expand Up @@ -430,9 +430,9 @@ type SubgraphVersionMetadata @entity(immutable:true) {
"Subgraph version metadata ipfs hash"
id: ID!
"SubgraphVersion entity that references this metadata. For compatibility purposes. For the full list use subgraphVersions"
subgraphVersion: SubgraphVersion @derivedFrom(field:"metadata")
subgraphVersion: SubgraphVersionMetadataUpdatedEvent @derivedFrom(field:"metadata")
"SubgraphVersion entities that reference this metadata"
subgraphVersions: [SubgraphVersion!]! @derivedFrom(field:"metadata")
subgraphVersions: [SubgraphVersionMetadataUpdatedEvent!]! @derivedFrom(field:"metadata")
"Short description of the version"
description: String
"Semantic versioning label"
Expand Down

0 comments on commit c122e7e

Please sign in to comment.