Collection
data class Collection(val elementStrategy: MappingStrategy, val isSet: Boolean = false) : MappingStrategy
Collection mapping: elements ride the convertEach… element seams, selected by the (target element shape × onFail) table — e.g. tags.convertEachOrSkip("tags", from, to) { … }. Direct same-type elements keep the container passthrough (no seam); container-level null handling stays separate (scope separation: element failure never escalates to the container).
Parameters
elementStrategy
how to map each element (feeds the seam's convert lambda)
isSet
true when the TARGET field is a kotlin.collections.Set / MutableSet — selects the Set-producing seams (convertEachOrSkipToSet / convertEachOrFailToSet).