Unflatten with constructors #1931
Replies: 1 comment
-
|
Duplicate of #643. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Given the following objects, I am trying to unflatten the dto into a complex domain object. When I try using
[MapProperty]I get an error stating that " GeoCoordinate.Latitude doesn't have a public setter" and same forGeoCoordinate.LongitudeHere's how I'm trying to map it
Is there any way to configure Mapperly to Unflatten such an object structure
I've also tried this approach, with similar results
:note: notice the nullable doubles on the dto, but on the domain it's not nullable.
Beta Was this translation helpful? Give feedback.
All reactions