SHARE
TWEET

Untitled

a guest May 22nd, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mutation ArticleCreate(
  2.   $title: String = "Chuj"
  3.   $author: String= "Chuj"
  4.   $background: String = "CHuj"
  5.   $content: String = "Chuj"
  6.     $contentJson: JSONString = "{\"Chuj\" : \"\"}"
  7. ) {
  8.   articleCreate(
  9.     input: {
  10.         title: $title
  11.       author: $author
  12.       background: $background
  13.             content: $content
  14.       contentJson: $contentJson
  15.     }
  16.   ) {
  17.   errors {
  18.     field
  19.     message
  20.   }
  21.   article {
  22.     id
  23.     title
  24.     author
  25.     content
  26.     contentJson
  27.     background
  28.     images(first: 10) {
  29.       edges {
  30.         node {
  31.           id
  32.           alt
  33.           url
  34.         }
  35.       }
  36.     }
  37.   }
  38.   }
  39. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top