Syntax - Tasty Web Development Treats cover image

Supper Club × tRPC With Alex KATT Johansson

Syntax - Tasty Web Development Treats

00:00

TRPC vs GraphQL: The Zod Advantage

This chapter focuses on the use of Zod for TypeScript input validation within the TRPC framework, highlighting its advantages over other libraries like Yupp and SuperStruct. The speakers share experiences illustrating how Zod simplifies schema validation, especially in backend development, while also discussing the differences and connections between TRPC and GraphQL. The conversation emphasizes TRPC's user-friendly approach and the challenges of GraphQL, particularly regarding complex data fetching and potential pitfalls in security.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app