Skip to content
loading...

re: What are the cons of GraphQL? VIEW POST

FULL DISCUSSION
 

Queries can be more expensive to run - due to the multiple layers of resolvers and schema validation, nested queries can be more expensive. Schema validation is a big plus, don't get me wrong, but it does come with a trade-off.

 

Queries might be more expensive, but using data loader one GraphQL query could be one query to the database, which with REST it might needed hundred simpler calls.

 

it’s just beautiful how data loaders work

 
code of conduct - report abuse