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.

I do something like this already actually but using my C# types -> TS types via a tool called Typewriter hehe.

0 reposts1 like

No replies yet.