rasengan-server-validation

Installation
SKILL.md

@rasenganjs/server Validation Patterns

When to Activate

  • Adding body/params/query validation to a route
  • Deciding between per-route schemas and a controller-level schemas dictionary
  • Debugging why a controller-level schema isn't being applied to a handler
  • Customizing the validation error response shape or status code
  • Swapping the default Zod adapter for another schema library

Configuring the Adapter

@rasenganjs/server defaults to zodAdapter with a built-in 400 JSON error handler. Override either via app.configureValidation():

// src/main.ts
import { bootstrap } from '@rasenganjs/server';
import { zodAdapter } from '@rasenganjs/validators';
import appModule from './app.module';
Installs
7
GitHub Stars
3
First Seen
Jul 24, 2026