Configuration & Integrations — Mapper
Integrate generated mappers with DI, EricksonLopez.Result, EricksonLopez.DomainPrimitives, and legacy Mapster profiles.
[assembly: GenerateMapperRegistration]: Emits DI registration extensions for discovered[Mapper]types in the assembly.[MapperDefaults]: Configures shared mapping defaults across mapper classes.[ValueObject]: Marks domain value objects for structural projection.
EricksonLopez.Mapper.Result:ResultMappingExtensionsexposesMap<TSource, TDest>,MapAsync(forTask<Result<T>>andValueTask<Result<T>>), andMapList.EricksonLopez.Mapper.DomainPrimitives: ShipsStrongIdToValueConverter<TStrongId, TValue>,ValueToDomainPrimitiveConverter<...>, andDomainPrimitiveToValueConverter<...>(FullAOT).EricksonLopez.Mapper.Mapster: Legacy Mapster adapter marked[RequiresUnreferencedCode]/[RequiresDynamicCode](IncompatibleAOT).