Fork me on GitHub
#graphql
<
2019-01-19
>
kwladyka18:01:50

Do you use Content-Type application/graphql as default one? Why not? It seems to make sense. :body is graphql query.

Chris20:01:41

Without checking, I think we are using application/json, since the body is JSON with query and variables fields.

kwladyka22:01:38

Why not raw graphql?

kwladyka22:01:11

Probably there is no difference besides extra translate json-> raw graphql, but just asking.

kwladyka22:01:30

maybe there are not obviously issues

orestis08:01:06

I think it’s needed for variables and extra options.

orestis08:01:33

Also, many of these decisions are practical in nature, to be compatible with the broad array of graphql tooling out there.

Chris08:01:55

Exactly what @U7PBP4UVA says 🙂

kwladyka10:01:11

So tools don’t work with raw graphql query?