3 ms·
At Oxide we use OpenAPI schemas generated from the server code to generate clients and it works quite well to produce the DX you describe despite different lang
by dcre 2y ago
At Oxide we use OpenAPI schemas generated from the server code to generate clients and it works quite well to produce the DX you describe despite different languages on server and client. OpenAPI has its frustrations, but it’s good enough.
I like to say that the main value of GraphQL was never really in the dynamic queries (in many ways an anti-feature) but rather in having a nice typed spec that lets you generate typed clients.
https://oxide-and-friends.transistor.fm/episodes/the-frontend-of-the-computer https://oxide-and-friends.transistor.fm/episodes/the-fronten...
- hot_gril 2y agoOpenAPI, protobuf, etc. There are a lot of options that don't even require TS.