Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
foriequal0 opened this issue Feb 23, 2022 · 1 comment

Comments

@foriequal0
Copy link
Contributor

foriequal0 commented Feb 23, 2022

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

@foriequal0 foriequal0 changed the title UseDestinationValue is not respected by ClassAdapter:CanMap UseDestinationValue is not respected by ClassAdapter:CanMap when implicit mapping Feb 23, 2022
@stagep
Copy link

stagep commented Jan 7, 2025

In order to identify issues that are still active, we are closing issues that we believe are either resolved or are dormant. If your issue is still active then please reopen. Thanks.

@stagep stagep closed this as completed Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants