4 ms·
With JSON, you have many benefit, such as syntax error for JSON. It's impossible with stringly type. With dynamically generation of query, JSON parsing is easi
by revskill 7y ago
With JSON, you have many benefit, such as syntax error for JSON. It's impossible with stringly type.
With dynamically generation of query, JSON parsing is easier than stringly type. You don't need a library like graphql-tag to do that.
Instead of posting a string body request, you post a JSON request, which is the standard way for long time.
In general, stringly type graphql query is not a fine choice to me.