no notes
no notes
no notes
defaults option is required when using this adapter, as for default values to be inferred automatically, a more specialized adapter for the validation library (handling JSON Schema) needs to be used.zod4 adapter when applicable. #594trim, transform, etc.) properly by using typeMode: 'input' and errorMode: 'ignore' as defaults. This prevents errors when schemas contain transformations. Users can override these settings by passing typeMode and errorMode options to the adapter. #668