Replies: 1 comment
-
Give it a try and see. AutoMapper supports record types just fine, so I don't see why init-only properties would present a problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Can I map Models which have Init Only Setters and what I need to be aware of?
I am planning to refactor the properties of my models To "Init Only".
I don't want to get any runtime surprises.
Will I get compile time Errors when AutoMapper can not deal with "init only" setters?
Will "AssertConfigurationIsValid" inform me when Init Only Setter will fail?
Beta Was this translation helpful? Give feedback.
All reactions