From 39fa8fcf2ed4a5f3dba5bcb252ea61a5515bc976 Mon Sep 17 00:00:00 2001 From: DriesOlbrechts <32861260+DriesOlbrechts@users.noreply.github.com> Date: Thu, 12 Feb 2026 16:05:30 +0100 Subject: [PATCH] fix: graphql docs on spreading collections --- content/collections/pages/graphql.md | 32 ++++++++++++++++------------ 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/content/collections/pages/graphql.md b/content/collections/pages/graphql.md index e0daab877..c9be0426f 100644 --- a/content/collections/pages/graphql.md +++ b/content/collections/pages/graphql.md @@ -75,13 +75,15 @@ and `Entry_Pages_Home` types. These implementations would provide fields specifi entries { id title - ... on Entry_Pages_Page { - subtitle - content - } - ... on Entry_Pages_Home { - hero_intro - hero_image + data { + ... on Entry_Pages_Page { + subtitle + content + } + ... on Entry_Pages_Home { + hero_intro + hero_image + } } } } @@ -840,13 +842,15 @@ You will need to query the implementations using fragments in order to get bluep entries { id title - ... on Entry_Blog_Post { - intro - content - } - ... on Entry_Blog_ArtDirected_Post { - hero_image - content + data { + ... on Entry_Blog_Post { + intro + content + } + ... on Entry_Blog_ArtDirected_Post { + hero_image + content + } } } }