Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mutation ArticleCreate(
- $title: String = "Chuj"
- $author: String= "Chuj"
- $background: String = "CHuj"
- $content: String = "Chuj"
- $contentJson: JSONString = "{\"Chuj\" : \"\"}"
- ) {
- articleCreate(
- input: {
- title: $title
- author: $author
- background: $background
- content: $content
- contentJson: $contentJson
- }
- ) {
- errors {
- field
- message
- }
- article {
- id
- title
- author
- content
- contentJson
- background
- images(first: 10) {
- edges {
- node {
- id
- alt
- url
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement