Package-level declarations
Types
Direction-scoped per-field override: applies only to the @MapFrom (reverse) direction; beats @ConvertWith there. Same parameter shape as ConvertWith — use left at its sentinel default means "keep the auto-discovered converter".
Direction-scoped per-field override: applies only to the @MapTo (forward) direction; beats @ConvertWith there. Same parameter shape as ConvertWith — use left at its sentinel default means "keep the auto-discovered converter".
Per-field OVERRIDE of converter resolution and/or brokenness policy (both directions). Never required for discovery — built-ins and @KMapperConfig converters are pair-discovered. use left at its sentinel default means "keep the auto-discovered converter".
Mapping treats this field's constructor default as nonexistent: the default is Kotlin construction convenience, NOT a wire fallback. Absence becomes RequiredFieldMissing; the field is built in the constructor stage (not omit/copy). No-op warning without a default.
The mapper pretends this field does not exist for auto-matching: its value never flows through mapping; the target slot falls back to its constructor default or becomes a required external parameter on the generated function.
1.x expression-based fallback — removed without an annotation replacement: the Kotlin constructor default IS the fallback in 2.0. Declare val plan: String = "FREE" on the target; mapping omits the argument so the default applies (and IgnoreDefaultValue opts a default out of being a wire fallback).
1.x name of ConvertWith. Note the parameter rename: 1.x converter = X::class is 2.0 use = X::class (plus the new per-field onFail policy).
Field-anchored validation: whenever this field participates in a mapping — as source (validated BEFORE conversion) or as target (validated AFTER) — its value runs through the validators. Fires at mapping time only; failure is a hard ValidationFailed.
1.x source-side validation — replaced by the field-anchored Validate: one declaration on the field that OWNS the rule fires before conversion when the field is a source and after conversion when it is a target, in every generated direction.
1.x target-side validation — see ValidateFrom; both names collapse into Validate.