5 ms·
"If you just want JSON over HTTP with some status codes" yes this Qualifier: have not been able to use graphql yet, and I'd still like to try it out at least
by spiritcat 8y ago
"If you just want JSON over HTTP with some status codes"
yes this
Qualifier: have not been able to use graphql yet, and I'd still like to try it out at least before making and judgements
- danpalmer 8y agoGraphQL costs a lot more to do, but also gives you a lot more. Just some benefits we've seen: - Automatic codegen in the client removes a lot of boilerplate. - Verification of schemas in CI makes sure we don't "go backwards" on the API inadvertently. - Documentation tooling that makes it easy to show API structure. - Easy to generate schemas automatically from underlying data models in the backend service (database tables, ORM models, enums, etc). - Great type safety compared to JSON over HTTP.