【发布时间】:2020-08-16 19:57:42
【问题描述】:
谁能告诉我如何从 react js 端传递 graphql 突变中的对象数组。我尝试在 react 中传递对象但得到不同类型的错误。
[input type][1]
[from api side][2]
[declaring the object][3]
[passing object in mutation][4]
[error i'm facing][5]
[1]: https://i.stack.imgur.com/ufVtA.png
[2]: https://i.stack.imgur.com/kQt5m.png
[3]: https://i.stack.imgur.com/hnxLM.png
[4]: https://i.stack.imgur.com/5JCHf.png
[5]: https://i.stack.imgur.com/BonPE.png
【问题讨论】:
-
请提供代码以及您遇到的错误
-
您好,请查找我添加的图片
-
请阅读How to Ask。我们希望您在这里提供适当的问题描述;仅举起图片不被视为一种。
标签: node.js reactjs facebook-graph-api graph graphql-js