-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Absolutely loving the new standard schema validation functionality. It works extremely well.
An additional feature that would be nice to have would be the ability to granularly skip arg/response validation at a global/per-endpoint level. Our main motivation is potential performance implications for certain endpoints (eg: some of our requests have multiple MB of data).
The skipSchemaValidation
option is currently all-or-nothing. A non-breaking way to support granular skipSchemaValidation
could be to allow it to accept either a boolean
or Array<'arg' | 'response'>
(items in array are the validations you wish to skip).
Metadata
Metadata
Assignees
Labels
No labels