Function: processIntersection()
processIntersection(
schema,ctx,field,params):void
Defined in: packages/core/src/processors/object.ts:60
Process z.intersection() — renders as a Fieldset that merges the left and right shape entries.
Both the left and right schemas must be z.object() types for their shapes to be merged.
Non-object intersection members are silently skipped.
Parameters
schema
$ZodIntersection
The $ZodIntersection schema whose left/right shapes are merged.
ctx
The walker context providing child processing.
field
The base FormField to mutate in-place.
params
Parent path metadata for constructing nested field keys.
Returns
void