EmitRpcOptions.validation property
Validation rules per model per field, as Zod suffixes.
Signature:
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.
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.