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