You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ x ] I can reproduce the bug using the latest prerelease version
[ x ] I have searched existing discussion and issue to avoid duplicates
Describe the bug
Using the latest version (4.1.1), when I use [MapperRequiredMapping(RequiredMappingStrategy.Source)] in a mapper, the mapper still complains about unmapped target properties when they have an init only setter.
Please do the checklist before filing an issue:
Describe the bug
Using the latest version (4.1.1), when I use
[MapperRequiredMapping(RequiredMappingStrategy.Source)]
in a mapper, the mapper still complains about unmapped target properties when they have an init only setter.Declaration code
Actual relevant generated code
Reported relevant diagnostics
Environment (please complete the following information):
Additional context
As soon as you change the
{ get; init; }
of property2 to{ get; get; }
, the error disappearsThe text was updated successfully, but these errors were encountered: