简体   繁体   English

github graphql api,“ clientMutationId”是什么意思?

[英]github graphql api, what does “clientMutationId” mean?

I saw clientMutationId field in documentation - https://developer.github.com/v4/guides/migrating-from-rest/#example-strong-typing 我在文档中看到了clientMutationId字段clientMutationId : //developer.github.com/v4/guides/migrating-from-rest/#example-strong-typing

what does clientMutationId mean? clientMutationId是什么意思? How can I generate it? 我该如何生成?

clientMutationId is not directly related with GraphQL but it is with graphql-relay . clientMutationId与GraphQL不直接相关,但与graphql-relay相关

Check Understanding Relay Mutations for a better explanation. 选中了解中继突变以获取更好的解释。

clientMutationId. clientMutationId。 This ID is generated by the Relay client behind the scenes to track the mutation's progress. 该ID由中继客户端在后台生成,以跟踪突变的进度。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM