Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. {
  2. allUsers{
  3. edges{
  4. node{
  5. uuid
  6. username
  7. datetimeCreated
  8. }
  9. }
  10. }
  11. }
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20. {
  21. allPosts{
  22. edges{
  23. node{
  24. title
  25. content
  26. author{
  27. username
  28. }
  29. }
  30. }
  31. }
  32. }
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41. {
  42. allInformation{
  43. edges{
  44. node{
  45. uuid
  46. firstName
  47. lastName
  48. favouriteSong
  49. }
  50. }
  51. }
  52. }
  53.  
  54.  
  55.  
  56.  
  57.  
  58. mutation {
  59. createdInformation(username:"johndoe", firstName:"John", lastName: "Doe", age: 54, education: "school", company: "Tesco" city:"Singapore", favouriteHobby: "Singing", favouriteSong: "ABBA", favouriteMovie: "Incredibles"){
  60. information{
  61. firstName
  62. lastName
  63. age
  64. city
  65. }
  66. }
  67. }
  68.  
  69.  
  70.  
  71. mutation {
  72. createUser(username:"johndoe"){
  73. user{
  74. username
  75. }
  76. }
  77. }
  78.  
  79.  
  80. mutation {
  81. createPost(username:"johndoe", title:"Hello 2", content:"Hello body 2"){
  82. post{
  83. title
  84. content
  85. author{
  86. username
  87. }
  88. }
  89. }
  90. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement