4 ms·
I just reread my post. I meant to say that GraphQL requests, not queries, are JSON. Of course the query itself is not json, why should it be? It describes the
by doctor_eval 2y ago
I just reread my post. I meant to say that GraphQL requests, not queries, are JSON.
Of course the query itself is not json, why should it be? It describes the shape of a json object, and queries are generally pretty static. But the request to the server is json, the request variables are json, the result is json, and all the json tooling can be used in the responses in our clients.
Honestly, one of the reasons I like GraphQL is the fact that underlying it all is just JSON.