MapsterMapper / Mapster

A fast, fun and stimulating object to object Mapper
MIT License
4.38k stars 331 forks source link

UseDestinationValue is not respected by ClassAdapter:CanMap when implicit mapping #406

Open foriequal0 opened 2 years ago

foriequal0 commented 2 years ago

We use this setting https://github.com/MapsterMapper/Mapster/wiki/Mapping-readonly-prop When a class only contains read only props that are designated by UseDestinationValue, ClassAdapter:CanMap returns false.

also it can't convert to empty class