# EmitRpcOptions.validation property · @imqueue/pg-prisma

Source: https://imqueue.org/api/pg-prisma/latest/pg-prisma.emitrpcoptions.validation/
Published: 2026-08-28
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-prisma 2.0.0 — generated reference, not hand-written

Validation rules per model per field, as Zod suffixes.

**Signature:**

```typescript
validation?: ValidationRules;
```

## Remarks

Prisma Next's contract does not carry them — the `/// @validate` doc comment the Prisma 7 generator read has no equivalent — so the rules are declared by the service and passed in. Omitted, the inputs are emitted with no `@validate` at all, which validates nothing: an argument class carrying `@validatable()` and no rules passes everything.

