An unofficial, read-only Hacker News reader.

The Power of GraphQL, Without GraphQL (opens external site)

64 points by Shoetp 5 days ago | cobalt27.dev | 47 comments on HN

View full thread · View on Hacker News

Comment thread (1)

  1. GraphQL is not a replacement for REST. Tbh I don’t even think its original purpose is that compelling. One thing it does shine at is representing shallow (<10 levels) of hierarchical or graph-like data with very little effort. I’ll put it in front of a couple of rest APIs stitched together from different systems to provide a cohesive graph representation of relationships that are otherwise a pain to stitch together. Your resolvers (business logic) don’t need to need to be aware of the graph nature of the representation