InternalComputes the target property value from the entire source object. Supports both sync and async functions.
Maps the target property from a source property. The selector
receives the source schema's PropertyDescriptorTree and supports
nested paths (e.g. (s) => s.address.city).
Type compatibility is enforced: only source properties whose inferred type is assignable to the target property type will appear in the selector callback.
Under strictFunctionTypes, the setValue and getValue constraints
provide bidirectional type checking:
setValue contravariance rejects source schemas with extra propertiesgetValue covariance rejects source schemas with missing propertiesExplicitly excludes the target property from mapping. The property will not appear in the output object.
Intermediate builder returned by
for(). Provides three strategies to configure how the selected target property is populated:from()— copy from a source propertycompute()— compute from the entire source objectignore()— explicitly skip the property