Skip to content
End-to-end Type-Safety with Your Own API Spec DSL (bobkonf2024) episode artwork

Mar 15, 2024 44 min

End-to-end Type-Safety with Your Own API Spec DSL (bobkonf2024)

from Chaos Computer Club - archive feed Hosted by Sabine Schmaltz

This talk offers a deep dive into the creation of a custom Domain-Specific Language (DSL) for HTTP API specifications, focusing on achieving end-to-end type safety targeting TypeScript client applications with Go/Rust/OCaml backends. I’ll share my experiences and choices in developing this DSL in OCaml, highlighting its design principles and challenges encountered. Key discussion points include the necessity of type safety across software layers, DSL design strategies, and the detailed process of building and integrating the DSL. I’ll cover some practical challenges and solutions in DSL development, considering aspects like type inference, schema validation, and automatic code generation for the backend routes and the client-side bindings. about this event: https://bobkonf.de/2024/schmaltz.html

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

End-to-end Type-Safety with Your Own API Spec DSL (bobkonf2024)

0:00 44:24

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Chaos Computer Club - archive feed?

This episode is 44 minutes long.

When was this Chaos Computer Club - archive feed episode published?

This episode was published on March 15, 2024.

Can I download this Chaos Computer Club - archive feed episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.