44:description: This page describes how to update nodes through mutations.
55
66
7- Using these type definitions:
7+ Consider the following type definitions:
88
99[source, graphql, indent=0]
1010----
@@ -21,7 +21,7 @@ type User {
2121}
2222----
2323
24- These `update` mutations and response types should be generated:
24+ These `update` mutations and response types are generated:
2525
2626[source, graphql, indent=0]
2727----
@@ -60,7 +60,7 @@ The `id` field cannot be updated as the xref::/directives/autogeneration.adoc#ty
6060
6161== Single `update`
6262
63- The content of a `Post` can be updated by executing the following GraphQL statement:
63+ You can update the content of a `Post` by executing the following GraphQL statement:
6464
6565[source, graphql, indent=0]
6666----
@@ -80,7 +80,7 @@ mutation {
8080}
8181----
8282
83- This should update the post by adding the sentence "Some new content for this Post!".
83+ This updates the post by adding the sentence "Some new content for this Post!".
8484
8585== Nested `create` using `update`
8686
@@ -131,7 +131,7 @@ mutation {
131131}
132132----
133133
134- For `update` operations, `connectOrCreate` can also be used as a top-level input for an equivalent operation:
134+ For `update` operations, you can also use `connectOrCreate` as a top-level input for an equivalent operation:
135135
136136[source, graphql, indent=0]
137137----
0 commit comments