|
|
|
|
|
by danpalmer
2687 days ago
|
|
GraphQL 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. |
|