我想与多个GraphQL类型共享一个nodeInterface。目前收到此错误: Error: User may only implement Interface types, it cannot implement: undefined.
我已经声明如下界面: // file: node-interface.js
let {nodeInterface, nodeField} = nodeD
我想更新带有UpdatePerson突变的person。我不想在inputFields中指定每个属性 - 而是想要传递完整的人员对象。 当我这样做,我得到Error: UpdatePersonInput.person field type must be Input Type but got: Person. 有没有办法通过完整的对象,而不是所有的属性来突变? 如果没有,您是否可以添加一个 - 因
我试图设置重试失败的突变,如Relay所记录:https://facebook.github.io/relay/docs/api-reference-relay-container.html#getpendingtransactions。 我造成突变失败,graphql服务器上,通过返回错误: mutateAndGetPayload: ({text}) => {
return new P