Re:SQL is a better API language than GraphQL – Convince me o...
by shakezula on Thursday April 16, 2020 @08:06PM
(#22894911)
The cases where GraphQL make sense are the ones where the front end is making tons of intricate, complicated calls. If it’s a simple REST api you’re interacting with it probably doesn’t need GraphQL and might actually be harmed by it.
[ Parent
| on HN ]
Re:SQL is a better API language than GraphQL – Convince me o...
by ldng on Thursday April 16, 2020 @08:33PM
(#22895073)
GraphQL is only interesting for flexibility to fast prototyping/changes on the client side, to me. And it should stay there. Meaning your client JS should have a data layer that can understand GraphQL and translate that to a REST API call and cache the result.