Some notes on the continuous conversation on how to keep frontend and backend in sync.
Option 1: Do nothing
- Backend changes, frontend breaks - moving on.
Options 2: OpenAPI schema -> typescript types
- https://github.com/openapi-ts/openapi-typescript/tree/main/packages/openapi-typescript
- https://orval.dev/
Option 3: Protobuf
Top comments (0)