3 ms·
Why is this upvoted so much? It's a complete strawman. Facebook's own intro at https://facebook.github.io/react/blog/2015/05/01/graphql-introduction.html https
by usaar333 11y ago
Why is this upvoted so much? It's a complete strawman.
Facebook's own intro at https://facebook.github.io/react/blog/2015/05/01/graphql-introduction.html https://facebook.github.io/react/blog/2015/05/01/graphql-int... states:
"There is actually much debate about what exactly REST is and is not. We wish to avoid such debates. We are interested in the typical attributes of systems that self-identify as REST, rather than systems which are formally REST."
"We believe there are a number of weakness in typical REST systems"
The author of this article is talking about REST in general, while Facebook specifically is talking about typical implementations of it.
- Cakez0r 11y agoRead the whole article. The author addresses that exact quote.
- _delirium 11y agoTo me that's a weaker point of page. I'd rather read about why Facebook couldn't design a REST API that meets their needs, not why some sampling of "typical" REST APIs in the wild doesn't have the characteristics they want. Sure, they might not, but can FB build a REST API that does have the characteristics they want? The answer could still be no, of course.