markdown graphQL错误

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown graphQL错误相关的知识,希望对你有一定的参考价值。

This is sucks that it doesn't show clear error messages
when there are syntax errors, it only shows it as Network Error 400

```js
const EXPENSE_DELETE = gql`
\!h  mutation DeleteExpense($expenseId: ID!){
    deleteExpense(id: $expenseId) {
      id
    }
  }
`
```
here if I use `$expenseId: String` then I have no idea where the error is at

以上是关于markdown graphQL错误的主要内容,如果未能解决你的问题,请参考以下文章