Nested

data class Nested(val mapperFunctionName: String, val sourcePackageName: String) : MappingStrategy

Nested object mapping (recursive mapper call). mapperFunctionName is a top-level extension function generated in sourcePackageName (the SOURCE type's package) — the generator must reference it via a package-qualified MemberName (not a bare identifier) so KotlinPoet emits the import when the parent mapper lives in a different package (issue #44).

Constructors

Link copied to clipboard
constructor(mapperFunctionName: String, sourcePackageName: String)

Properties

Link copied to clipboard
Link copied to clipboard