Question from the GraphQL test

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

Hard
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 3 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!