From 1d911202e8f67611b5cf719a3b2438ae56349193 Mon Sep 17 00:00:00 2001 From: Rudolf Migirov <38865764+McFLoDuR@users.noreply.github.com> Date: Thu, 17 Jul 2025 11:03:02 +0200 Subject: [PATCH 1/2] Remove extra "like" from sentence Sentence starting with "Also like just like queries," changed to "Also just like queries,". --- src/pages/learn/mutations.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/learn/mutations.mdx b/src/pages/learn/mutations.mdx index 57351f6edf..23a91e8175 100644 --- a/src/pages/learn/mutations.mdx +++ b/src/pages/learn/mutations.mdx @@ -41,7 +41,7 @@ Like queries, mutation fields are added to one of the [root operation types](htt Mutation fields can also accept arguments and you might notice that the `review` argument has an input type set to `ReviewInput`. This is known as [Input Object type](/learn/schema/#input-object-types), which allows us to pass in a structured object containing information the mutation can use instead of individual scalar values only. -Also like just like queries, if the mutation field returns an Object type, then you specify a selection set of its fields in the operation: +Also just like queries, if the mutation field returns an Object type, then you specify a selection set of its fields in the operation: ```graphql # { "graphiql": true, "variables": { "ep": "JEDI", "review": { "stars": 5, "commentary": "This is a great movie!" } } } From b1a4f64ddaa83f9ca8c19d7608c55a283b77e7fc Mon Sep 17 00:00:00 2001 From: Benjie Date: Fri, 18 Jul 2025 14:28:29 +0100 Subject: [PATCH 2/2] Update src/pages/learn/mutations.mdx --- src/pages/learn/mutations.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/learn/mutations.mdx b/src/pages/learn/mutations.mdx index 23a91e8175..2119d567fd 100644 --- a/src/pages/learn/mutations.mdx +++ b/src/pages/learn/mutations.mdx @@ -41,7 +41,7 @@ Like queries, mutation fields are added to one of the [root operation types](htt Mutation fields can also accept arguments and you might notice that the `review` argument has an input type set to `ReviewInput`. This is known as [Input Object type](/learn/schema/#input-object-types), which allows us to pass in a structured object containing information the mutation can use instead of individual scalar values only. -Also just like queries, if the mutation field returns an Object type, then you specify a selection set of its fields in the operation: +As with queries, if the mutation field returns an Object type then you must specify a selection set of its fields in the operation: ```graphql # { "graphiql": true, "variables": { "ep": "JEDI", "review": { "stars": 5, "commentary": "This is a great movie!" } } }