Skip to content

Conversation

@andrei-traktatovich
Copy link

@andrei-traktatovich andrei-traktatovich commented Sep 20, 2021

Enable source.Adapt<ITarget>() always to initialize all properties of the autogenerated class from source (including readonly ones) fixes #374

@andrei-traktatovich andrei-traktatovich changed the title Init read-only properties when mapping with a non-readonly interface Init read-only properties when mapping with a non-readonly interface fixes #374 Sep 20, 2021
@qihangnet
Copy link

@chaowlert I really need this feature, can you merge this PR? Thank you.

@andrerav andrerav self-assigned this Feb 19, 2022
@andrerav andrerav added the bug label Feb 19, 2022
@andrerav andrerav merged commit 7384622 into MapsterMapper:master Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Non-unform mapping to get-only properties of a target interface

3 participants