Post

Full end-to-end type safety across tech stacks is a dream for many developers. @craigory.dev makes it look easy. In his latest article, he shows how to achieve full-stack type safety in an Nx monorepo hosting a .NET WebAPI with a JavaScript frontend. nx.dev/blog/dotnet...

nx.devFull-Stack Type Safety Across Languages with @nx/dotnet | Nx BlogGenerate an OpenAPI document from a .NET API at build time, generate a TypeScript client from it, and let the Nx task graph keep the two in sync.

3 reposts4 likes

The seam between a typed backend and a typed frontend is where I lose the most time, generated clients drift the moment someone edits a DTO by hand. Curious whether the generation step here runs in CI or only on demand.