bean-mapping: Dozer 7.0.0 vs MapStruct 1.6.3 module (basic/nested/collection/null handling, silent-failure pitfalls, records, lazy getters, parity test, compile-failure demos, JMH benchmark), 14 contract tests
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6ZEVHGaYy15HAxRzy
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
a714780bca
commit
91f0757259
@@ -0,0 +1,18 @@
|
||||
$ javac -processorpath target/processor/mapstruct-processor-*.jar -cp target/classes:target/lib/mapstruct-*.jar src/broken/java/BrokenInverseMapper.java
|
||||
src/broken/java/BrokenInverseMapper.java:21: error: Several matching inverse methods exist: toEntity(), update(). Specify a name explicitly.
|
||||
@InheritInverseConfiguration
|
||||
^
|
||||
src/broken/java/BrokenInverseMapper.java:22: warning: Unmapped target property: "email".
|
||||
UserDTO toDto(UserEntity entity);
|
||||
^
|
||||
1 error
|
||||
1 warning
|
||||
javac exit code: 1
|
||||
|
||||
$ javac -processorpath target/processor/mapstruct-processor-*.jar -cp target/classes:target/lib/mapstruct-*.jar src/broken/java/BrokenUserMapper.java
|
||||
src/broken/java/BrokenUserMapper.java:14: error: Unmapped target property: "phone".
|
||||
UserEntityV2 toEntity(UserDTO dto);
|
||||
^
|
||||
1 error
|
||||
javac exit code: 1
|
||||
|
||||
Reference in New Issue
Block a user