From 3274ab2e1a8ae17bfb338c3d4a5e1d509c5f5993 Mon Sep 17 00:00:00 2001 From: doeringp <20394732+doeringp@users.noreply.github.com> Date: Fri, 15 Jul 2022 23:12:03 +0200 Subject: [PATCH] Field name in GraphQL query should match the server's schema (#5242) --- website/src/docs/hotchocolate/defining-a-schema/unions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/docs/hotchocolate/defining-a-schema/unions.md b/website/src/docs/hotchocolate/defining-a-schema/unions.md index 6ba1d952985..88a2253b093 100644 --- a/website/src/docs/hotchocolate/defining-a-schema/unions.md +++ b/website/src/docs/hotchocolate/defining-a-schema/unions.md @@ -23,7 +23,7 @@ Clients can query fields returning a union like the following. ```graphql { - postContent { + content { ... on TextContent { text }