[英]How to pass variables in mutation graphQL Playground?
I am using apollo express server 2.0.我正在使用阿波罗快递服务器 2.0。 And I am trying to execute mutation in the graphql playground.
我正在尝试在 graphql 操场中执行突变。 Here is the mutation I have attached a screenshot with another screenshot of a variable.
这是我附上一个带有另一个变量截图的截图的突变。
I am getting the following error when I am trying to execute mutation command in the graphql playground.当我尝试在 graphql 操场中执行突变命令时出现以下错误。
Please guide me where I am incorrect.请指导我我不正确的地方。
There are two tabs QUERY VARIABLES
and HTTP HEADERS
in the input field at the bottom right of graphQL Playground.在graphQL Playground 右下角的输入字段中有两个选项卡
QUERY VARIABLES
和HTTP HEADERS
。 Please check the tab QUERY VARIABLES
is selected.请检查选项卡
QUERY VARIABLES
是否被选中。
似乎您必须分别定义每个输入字段。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.