Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mutation {
- register(email:"rick@example.com", password:"password123"){
- id
- email
- }
- }
- mutation {
- addChat(userId:"", chatName:"") {
- id
- }
- }
- mutation {
- addMessage(chatId: "", userId:"" message:"") {
- id
- message
- }
- }
- query {
- getMessages(id: ""){
- id
- message
- }
- }
- query {
- getUser(id:"") {
- id
- chats {
- id
- name
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement