Is there an option to swith off property type convertions #211
Replies: 1 comment 5 replies
-
Thank you for your feature request. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
You made a great job!
Is there an option to not generate type convertions? F.e.:
generated code
mapperly generate conversion:
target.Id = int.Parse(source.Id);
it is great but sometimes all i need is plain assignment target.Id = source.Id with compilation error - "Cannot implicitly convert type 'string' to 'int?' Is there an option for this?
Beta Was this translation helpful? Give feedback.
All reactions