News for hackers. Stuff that matters.
Re:Rust Is Eating JavaScript by dcre on Sunday February 16, 2025 @09:19AM (#43068217)
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-fronten...

Re:Rust Is Eating JavaScript by hot_gril on Sunday February 16, 2025 @01:02PM (#43070067)
OpenAPI, protobuf, etc. There are a lot of options that don't even require TS.