I'd say to use the right tool for the job.
But as a general opinion, I admire the theoretical elegance of GraphQL (only return the exact data needed), but using GraphQL is probably more trouble than it's worth for most projects.
But as a general opinion, I admire the theoretical elegance of GraphQL (only return the exact data needed), but using GraphQL is probably more trouble than it's worth for most projects.
If you interpolate parameters into your query, then there are yucky quoting issues, but GraphQL allows clients to pass both a query and accompanying variables for that very reason, and users are encouraged to use variables.