Skip to main content

5 posts tagged with "asyncapi"

View All Tags

AsyncAPI - Dynamic Channel Routing Made Type-Safe

· 10 min read
Jonas Lagoni
The Codegen Project creator

Building event-driven applications often requires dynamic channel routing based on parameters like user IDs, tenant identifiers, or resource keys. Manually constructing these parameterized channels is error-prone and makes your code fragile. We've explored generating payload models, headers, and type-safe channels. Now let's see how The Codegen Project's parameters generator creates type-safe models for dynamic channel construction.

AsyncAPI - Type safety Never Publish to Wrong Channels Again

· 8 min read
Jonas Lagoni
The Codegen Project creator

Building event-driven applications with multiple channels often leads to a common but critical problem: hardcoded channel names scattered throughout your codebase. One typo in a channel name can send events to the wrong destination or create silent failures. We've already explored generating models for payloads and headers. Now let's see how The Codegen Project's types generator provides compile-time safety for all your channel routing.

AsyncAPI - Type-Safe Headers

· 12 min read
Jonas Lagoni
The Codegen Project creator

Building robust event-driven applications requires more than just payload validation - you need proper header management for authentication, tracing, routing, and metadata. In our previous post about payload generation, we showed how to generate type-safe data models. Now let's explore how The Codegen Project's headers generator can streamline your messaging infrastructure by handling the metadata side of your messages.

AsyncAPI - Stop wasting time on payloads

· 8 min read
Jonas Lagoni
The Codegen Project creator

Building event-driven applications often means spending countless hours writing and maintaining payload models. What if you could generate these models automatically from your AsyncAPI specification while keeping full control over your infrastructure code? In this post, we'll explore how The Codegen Project's payload generator can save you time and reduce errors.