Skip to content

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

Description

@foriequal0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions