You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
* Remove extra "like" from sentenceSentence starting with"Also like just like queries," changed to"Also just like queries,".* Update src/pages/learn/mutations.mdx---------Co-authored-by: Benjie <benjie@jemjie.com>
Copy file name to clipboardExpand all lines: src/pages/learn/mutations.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ Like queries, mutation fields are added to one of the [root operation types](htt
41
41
42
42
Mutationfieldscanalsoacceptargumentsandyoumightnoticethatthe `review`argumenthasaninputtypesetto `ReviewInput`.Thisisknownas [InputObjecttype](/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.
43
43
44
-
Alsolikejustlikequeries, if the mutation field returns an Object type, then you specify a selection set of its fields in theoperation:
44
+
Aswithqueries, if the mutation field returns an Object type then you must specify a selection set of its fields in theoperation:
45
45
46
46
```graphql
47
47
# { "graphiql": true, "variables": { "ep": "JEDI", "review": { "stars": 5, "commentary": "This is a great movie!" } } }