Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

We tried GraphQL for about a year, then switched back to REST, but took the important bits with us: a published API contract (an OpenAPI spec), and code-gen'ed Swift from that spec.

Looking back, it is hard to believe I spent a decade working in shops with no published spec, no code-gen. So many ugly surprises discovered in production, all of which were avoidable. Never again.



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

Search: