Skip to content

Instantly share code, notes, and snippets.

@xperiandri
Last active February 13, 2022 22:10
Show Gist options
  • Save xperiandri/acd14be217238d684df61ec9476da028 to your computer and use it in GitHub Desktop.
Save xperiandri/acd14be217238d684df61ec9476da028 to your computer and use it in GitHub Desktop.
mutation grupo ($id: GrupoID!
$addAdminCommand: AddAdminCommand!
$name: GrupoName!
$description: String
$imageURL: GrupoImageURL!
$removeAdminCommand: RemoveAdminCommand!) {
grupo (id: $id) {
addAdmin (addAdminCommand: $addAdminCommand) // in parallel / параллельно
delete // in parallel / параллельно
join // in parallel / параллельно
leave // in parallel / параллельно
patch { // in parallel / параллельно
description (description: $description)
imageURL (imageURL: $imageURL)
name (name: $name)
}
removeAdmin (removeAdminCommand: $removeAdminCommand) // in parallel / параллельно
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment