【发布时间】:2018-12-20 13:26:51
【问题描述】:
我在example-strong-typing 文档中看到了clientMutationId 字段。
mutation {
addComment(input:{clientMutationId: 1234, subjectId: "MDA6SXNzdWUyMjcyMDA2MTT=", body: "Looks good to me!"}) {
clientMutationId
commentEdge {
node {
body
repository {
id
name
nameWithOwner
}
issue {
number
}
}
}
}
}
clientMutationId 是什么意思?如何生成它?
【问题讨论】:
标签: graphql github-api relay github-graphql graphql-relay