diff --git a/modules/thunder_gqls/src/Plugin/GraphQL/SchemaExtension/ThunderPagesSchemaExtension.php b/modules/thunder_gqls/src/Plugin/GraphQL/SchemaExtension/ThunderPagesSchemaExtension.php index f0c9802e1..cdcd5e66c 100644 --- a/modules/thunder_gqls/src/Plugin/GraphQL/SchemaExtension/ThunderPagesSchemaExtension.php +++ b/modules/thunder_gqls/src/Plugin/GraphQL/SchemaExtension/ThunderPagesSchemaExtension.php @@ -57,7 +57,7 @@ protected function resolveFields(): void { ); $this->addFieldResolverIfNotExists($type, 'channel', - $this->builder->fromPath('entity', 'field_channel.entity') + $this->fromEntityReference('field_channel', NULL, FALSE) ); $this->addFieldResolverIfNotExists($type, 'tags',