Skip to content

Commit dc86c3a

Browse files
corrected duplicated example on update-create
1 parent 141bfc1 commit dc86c3a

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

modules/ROOT/pages/migration/index.adoc

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -123,23 +123,25 @@ The following nested operations have been moved into the `update` argument:
123123
a|
124124
[source, graphql, indent=0]
125125
----
126-
mutation UpdatePeople {
127-
updatePeople(create: { movies: { node: { title: "The Good" } } }) {
128-
people {
129-
name
130-
}
126+
mutation UpdateActors {
127+
updateActors(create: { movies: { node: { title: "The Good" } } }) {
128+
actors {
129+
name
131130
}
131+
}
132132
}
133133
----
134134
a|
135135
[source, graphql, indent=0]
136136
----
137-
mutation UpdatePeople {
138-
updatePeople(create: { movies: { node: { title: "The Good" } } }) {
139-
people {
140-
name
141-
}
137+
mutation UpdateActors {
138+
updateActors(
139+
update: { movies: { create: { node: { title: "The Good" } } } }
140+
) {
141+
actors {
142+
name
142143
}
144+
}
143145
}
144146
----
145147
|===

0 commit comments

Comments
 (0)