Skip to content

Instantly share code, notes, and snippets.

@catalinpit
Created July 27, 2022 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save catalinpit/679be1b8ef4fbbf51947ed48e88ba6a3 to your computer and use it in GitHub Desktop.
Save catalinpit/679be1b8ef4fbbf51947ed48e88ba6a3 to your computer and use it in GitHub Desktop.
mutation Mutation($addNoteId: ID!, $title: String!, $content: String!, $username: String!) {
addNote(id: $addNoteId, title: $title, content: $content, username: $username) {
id
title
content
username
}
}
{
"addNoteId": 3,
"title": "Test application",
"content": "Test the application by adding new data",
"username": "Catalin Pit"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment