oRPC Smart Coercion Plugin
Installation
SKILL.md
Smart Coercion Plugin
Automatically converts input values to match schema types.
Impacts performance. For high-performance applications, manually define coercion in your schema validation.
Installation
npm install @orpc/json-schema@latest
Setup
import { OpenAPIHandler } from '@orpc/openapi/fetch'
import { SmartCoercionPlugin } from '@orpc/json-schema'