Question from the GraphQL test

What is the type of the return value of a GraphQL query?

Expert
mutation AddReviewForEpisode($reviewInput: ReviewInput!) {
  createReview(episode: JEDI, review: $reviewInput) {
    stars
    commentary
  }
}

input ReviewInput {
  stars: Int!
  commentary: String
}

Dans cette mutation GraphQL, à quoi sert ReviewInput et comment est-il utilisé ?!

Author: AnasStatus: PublishedQuestion passed 7 times
Edit
-1
Community Evaluations
developer avatar
Incorrect answer
flare
14/10/2024
it's not right answer