godon019
2/27/2019 - 5:14 AM

graphQL Error

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

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