Last active
February 13, 2022 22:10
-
-
Save xperiandri/920c5de86a100a30806c8596b8f3a8a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutation grupo ($id: GrupoID! | |
$name: GrupoName! | |
$description: String | |
$imageURL: GrupoImageURL!) { | |
grupo (id: $id) { | |
// Intercept AST and handle its processing / Перехватываем AST и обрабаываем сами | |
patch { | |
description (description: $description) // return null or error for field / возвращаем null или ошибку по полю | |
imageURL (imageURL: $imageURL) // return null or error for field / возвращаем null или ошибку по полю | |
name (name: $name) // return null or error for field / возвращаем null или ошибку по полю | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment