|
|
|
|
|
by linkdd
882 days ago
|
|
GraphQL shines when your data model is already a graph, when you have polymorphism and expose nodes/edges and follow the "Relay" pattern. But it shines only for the frontend. It is a nightmare on the backend to implement efficiently. Then, you have Hasura, which will compile the GraphQL request into an SQL request. Hasura provides a REST-like schema with GraphQL syntax. At that point, just stick with REST. |
|