3 ms·
GraphQL makes it straightforward to do conditional queries like: … on Book { title author if_viewer_can_purchase { price shipping
by zeroonetwothree 3y ago
GraphQL makes it straightforward to do conditional queries like:
… on Book {
title
author
if_viewer_can_purchase {
price
shipping
}
}
This is quite annoying to do with traditional REST without overfetching data you don’t need.