Hacker News new | past | comments | ask | show | jobs | submit login

Personally I think GraphQL's existence, while seemingly blatantly obvious in retrospect, is was what REST should have been. It lets "generic" applications to discover the API and its associated operations. Essentially its also simply a re-do of what Swagger (and a few others) attempted to do, but never really made REST work (imho).

Here's a good analogy:

Graphql is docker, REST is LXC.




So one is user configurable and understandable (leaves much to the user) and the other is a black box that performs magic? One takes some time to understand and make work while the other just does the right thing 85% of the time?


Might be more accurate to say that SOAP is LXC and GraphQL is docker.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: