fr
fr

Question from the GraphQL test

What are variables in GraphQL?

Easy

Considérez la mutation suivante :

mutation UpdateUser($id: ID!, $newEmail: String!) {
  updateUser(id: $id, email: $newEmail) {
    id
    email
  }
}

Quel est le rôle de $id et $newEmail dans cette mutation ?

Author: AnasStatus: PublishedQuestion passed 33 times
Edit
-2
Community Evaluations
developer avatar
Other
Benjamin Lepoutre
07/10/2024
elle est en doublon avec une autre question
developer avatar
Marc-Henry Nanguy
01/12/2024
doublon
developer avatar
Other
Maxime Lenglet
14/03/2025
Cette question est un doublon de la question 9 !!!