From 75dee8d6f77717c67f6923ffa9e69d9dd93afc5b Mon Sep 17 00:00:00 2001 From: Dimitri POSTOLOV Date: Wed, 17 Jan 2024 19:46:54 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20incorrect=20graphql=20code=20block.=20Upd?= =?UTF-8?q?ate=20graphql-validations-migratio=E2=80=A6=20(#580)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix incorrect graphql code block. Update graphql-validations-migration-guide.mdx * Update graphql-validations-migration-guide.mdx --- .../graphql-validations-migration-guide.mdx | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/website/pages/en/release-notes/graphql-validations-migration-guide.mdx b/website/pages/en/release-notes/graphql-validations-migration-guide.mdx index f8cf8a3c2ed3..4d909e8970a8 100644 --- a/website/pages/en/release-notes/graphql-validations-migration-guide.mdx +++ b/website/pages/en/release-notes/graphql-validations-migration-guide.mdx @@ -368,19 +368,17 @@ Also, a GraphQL field selection is only valid if the following is validated: Here are a few examples of violations of these rules with the following Schema: ```graphql -schema { - type Image { - url: String! - } +type Image { + url: String! +} - type User { - id: ID! - avatar: Image! - } +type User { + id: ID! + avatar: Image! +} - type Query { - user: User! - } +type Query { + user: User! } ```