Closed lindeberg closed 5 years ago
Hi
The object initializer should handle all properties with public setter or should ignore properties that fit to source properties matched to constructor parameters?
I think the latter.
Tracking what has been already used for mapping is the hardest part, but I will give a try.
@lindeberg Here's a version with fixed issue. Would you mind to test it and tell me if everything is working as expected? https://ci.appveyor.com/api/buildjobs/po8qd7ghrmfg46fw/artifacts/MappingGenerator%2FMappingGenerator%2FMappingGenerator.Vsix%2Fbin%2FRelease%2FMappingGenerator.vsix
@cezarypiatek Yes!! It works!! Wow, fast action. Thank you so much.
Thanks for testing. I really appreciate it.
Hello! In this image there are lots of more identical properties to map from command to the new CourseParticipant - only some goes via constructor and it works well. Then I want to object initialize the rest but it won't work.