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
thanks for the info
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.