- Replace usages of
- If your mapper is nested in a class, or the mapped objects include internal members: Add
MapperIgnoreTargetfor newly included private/internal but unneeded members (details)
MapperIgnoreAttribute was removed
MapperIgnoreAttribute is removed.
Any usages can be replaced with
All accessible members are mapped by default
Mapperly versions < 3.0 considered all members which are either internal in the same assembly as the mapper or public.
Since v3.0 Mapperly considers all members which are accessible by the mapper.
This can include private members
(e.g. if the mapper is a nested class and maps the outer class which has private members)
and internal members
(e.g. if the mapper maps a class of another assembly which has
InternalsVisibleTo set for the assembly of the mapper).
If members are now included which you do not want to be mapped,
ignore them by using
All attributes in
Riok.Mapperly.Abstractions are now sealed.