feat(server): disable validation#1678
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
More templates
@orpc/arktype
@orpc/bun
@orpc/client
@orpc/cloudflare
@orpc/contract
@orpc/experimental-effect
@orpc/evlog
@orpc/json-schema
@orpc/nest
@orpc/next
@orpc/openapi
@orpc/opentelemetry
@orpc/pino
@orpc/publisher
@orpc/ratelimit
@orpc/server
@orpc/shared
@orpc/tanstack-query
@orpc/valibot
@orpc/zod
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
ℹ️ One doc detail to clarify.
Reviewed changes — added disableInputValidation/disableOutputValidation runtime toggles to the server builder and implementer, plus docs and tests.
- Add
ProcedureConfigtoProcedureDefinitionandBuilderDefinition, with.$configmethods onBuilderandImplementer. - Propagate config through
augmentRouter,augmentImplementedRouter, andcreateRouterImplementer, and skip validation loops inexecuteProcedureInternal. - Rename docs from
validation-errors.mdtovalidation-customization.mdand update references.
Kimi K2 (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — the latest commit (b2d04ca) tightens test fixtures and assertions for the new ProcedureConfig propagation.
- Updated
implementer-procedure.test.tsso theProcedureImplementerfixture explicitly carriesdisableInputValidation. - Updated
implementer-router.test.tsso the expected~orpcsnapshots account for the config spread and theomit(options, ...)shape now used byaugmentRouter.
Kimi K2 (free via Pullfrog for OSS) | 𝕏

No description provided.