News for hackers. Stuff that matters.
Re:Migrating Netflix to GraphQL Safely by zeroonetwothree on Monday June 19, 2023 @10:04AM (#36391220)
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.

There are no comments on this comment yet.