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