Expected behavior
Using a combination for Mapping#expression and Mapping#conditionQualifiedBy(Name) should lead to compile error
Actual behavior
There is no compile error and the Mapping#conditionQualifiedBy(Name) is simple ignored
Steps to reproduce the problem
@Mapper
public interface MyMapper {
@Mapping(target = "value", expression = "java(source.getValue())", conditionQualifiedByName = "condition")
Target map(Source source);
}
This is related to #3405
MapStruct Version
1.5.5
Expected behavior
Using a combination for
Mapping#expressionandMapping#conditionQualifiedBy(Name)should lead to compile errorActual behavior
There is no compile error and the
Mapping#conditionQualifiedBy(Name)is simple ignoredSteps to reproduce the problem
This is related to #3405
MapStruct Version
1.5.5