【发布时间】:2019-05-29 20:54:47
【问题描述】:
我是 GraphQL 的新手。我正在学习 GraphQL。
我的输入如下所示
mutation {
createEvent:{eventInput: {title: "A Test", description:"Does this work?", price:9.99, date:"2018-12-06T09:26:30.645Z"}
}
}
我收到如下错误
{
"errors": [
{
"message": "Syntax Error: Expected Name, found {",
"locations": [
{
"line": 2,
"column": 15
}
]
}
]
}
【问题讨论】:
标签: graphql