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).
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
skipSchemaValidationoption is currently all-or-nothing. A non-breaking way to support granularskipSchemaValidationcould be to allow it to accept either abooleanorArray<'arg' | 'response'>(items in array are the validations you wish to skip).