Skip to content

Commit

Permalink
Document mutation type pimcore#50
Browse files Browse the repository at this point in the history
  • Loading branch information
weisswurstkanone committed Sep 25, 2020
1 parent 2e78ab3 commit e5c68af
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions doc/graphl/DocumentMutations.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,26 @@

```graphql
mutation {
updateDocumentPage(id: 99, input: {

editables: {input: [
{_tagName: "content:2.headline"
text:"HEYYOU 3"},
{_tagName: "headline"
text:"NEW 2"}
],
wysiwyg: [
{_tagName:"content:1.content",
text:"my new <b>wysiwyg</b>"}

]

}
module: "mymodule"}) {
success
document {
controller
}
}
updateDocumentPage(
id: 99
input: {
editables: {
input: [
{ _tagName: "content:2.headline", text: "HEYYOU 3" }
{ _tagName: "headline", text: "NEW 2" }
]
wysiwyg: [
{ _tagName: "content:1.content", text: "my new <b>wysiwyg</b>" }
]
}
module: "mymodule"
}
) {
success
document {
controller
}
}
}
```

Expand Down

0 comments on commit e5c68af

Please sign in to comment.