Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Why GraphQL? 8 Reasons After Reading 13 GraphQL Case Studies (shekhargulati.com)
4 points by shekhargulati on Dec 21, 2019 | hide | past | favorite | 1 comment


Reason 3 "Strong Typing" is not an inherent advantage of GraphQL over REST. RESTful services that adopt Swagger can provide a typed schema and clients can call GraphQL services without any notion of type checking. http://glennengstrand.info/software/architecture/microservic... is a comparison between two feature similar microservices, one written in JavaScript on Express (REST) and the other written in TypeScript on Apollo (GraphQL). The RESTful service has a swagger spec and the load test application used to evaluate both performs no special type checking.




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

Search: