-
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". 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.
Answered by
jbogard
Sep 12, 2022
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
Answer selected by
lbargaoanu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to 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.