We started moving to a schema-first approach using GraphQL SDL + code generation.
Tools used:
-
graphql-tools
(JS)
- graphql-codegen
for TypeScript typings
- Apollo Federation
experiments (early days)Advantages:
- Clear API contracts
- Faster onboarding
- IDE autocomplete and static checks
Watch out: schema drift is real — enforce schema registry and CI validation.