From 5e2812bc2309312f29a696124c811b1520642ee0 Mon Sep 17 00:00:00 2001 From: juanmardefago Date: Wed, 17 Jan 2024 02:31:39 -0300 Subject: [PATCH] fix: wrong derivedFrom --- schema.graphql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/schema.graphql b/schema.graphql index 32cd85a..bbb27d6 100644 --- a/schema.graphql +++ b/schema.graphql @@ -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" @@ -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"