Relative Content

Tag Archive for mapstruct

MapStruct problems with nested properties in combination with multiple parameters

I am trying to map from one nested object to another with some custom mappings, and I also need to add an additional field that is not present in the source object by using a second method parameter. I am getting either a compiler error when the target type uses constructor mapping or incomplete mapping when using mutable objects.