oRPC Response Validation Plugin

Installation
SKILL.md

Response Validation Plugin

Validates server responses against your contract schema, ensuring data matches the expected types.

Best suited for Contract-First Development. Minified Contract is not supported.

Setup

import { RPCLink } from '@orpc/client/fetch'
import { ResponseValidationPlugin } from '@orpc/contract/plugins'

const link = new RPCLink({
  url: 'http://localhost:3000/rpc',
  plugins: [
    new ResponseValidationPlugin(contract),
  ],
})
Installs
First Seen
oRPC Response Validation Plugin — ali-master/skills