Extending tRPC Functionality
Discover advanced ways to extend tRPC with custom builders, plugins, and integration with other libraries.
Extend tRPC's Core
tRPC is incredibly powerful out-of-the-box, but sometimes your application needs more custom control and specialized behavior. This lesson will show you how to extend tRPC beyond basic middleware.
We'll explore custom procedure builders for creating specialized API endpoints and discuss how to integrate tRPC seamlessly with other libraries like ORMs.
Why Custom Builders?
Standard middleware is great for applying common logic to all or a group of procedures, such as authentication or logging.
But what if you need to define specific types of procedures, like adminProcedure or publicProcedure, each with unique context properties or pre-configured middleware chains? Custom procedure builders are perfect for this!
All lessons in this course
- Setting Up a tRPC Monorepo
- Code Sharing and Reusability
- Extending tRPC Functionality
- Versioning and Publishing Shared tRPC Packages