graphql

hadils 2020-09-08T15:56:06.012800Z

What does :body {:errors [{:message "Path de-references through a scalar type.", :locations [{:line 3, :column 5}], mean?

hadils 2020-09-08T15:56:31.013300Z

I noticed on 400 errors, there are no response headers...

hlship 2020-09-08T15:59:41.014500Z

That shouldn’t be possible, it’s a sanity check for when you try to de-structure through a scalar type. That’s supposed to be caught during the query parser phase. Can we see your schema and query? I’m curious how this can happen. Also, what version of lacinia?

hadils 2020-09-08T16:14:28.014900Z

I figured it out @hlship thanks!

hlship 2020-09-08T16:37:25.015400Z

Remember that if you find something that might help someone else in the same problem, please post your solution.

hadils 2020-09-08T17:04:24.016300Z

We were returning a scalar, but the mutation was in brackets.