Difficulty with unflattening a model (RMG016, RMG020) #1323
Replies: 1 comment
-
Unfortunately unflattening to init/required properties is not supported atm: #643.
A PR implementing this feature, feel free to contribute 😉 |
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
-
Hello!
I'm trying to map the following but this doesn't work. I can't really understand why.
I get the following errors:
If I remove the
required
keyword frompublic required OrderCustomerDto Customer { get; set; }
, the errors are gone, but the generated code will generate a nullref:I also think the MapProperty should not be necessary because doesn't mapperly use pascalcase to understand mappings?
To summarize:
Thanks! <3
Beta Was this translation helpful? Give feedback.
All reactions