tryAutoMapUnmappedMembers

Try to automatically map unmapper member.

It: * map member with the same name * map flattened member to destination object e.g: A.foo.bar is mapped to B.fooBar

package
template tryAutoMapUnmappedMembers (
TSource
TDest
SourceConv
DestConv
Mappings...
) if (
isNamingConvention!SourceConv &&
isNamingConvention!DestConv
&&
allSatisfy!(isObjectMemberMappingConfig, Mappings)
) {}

Members

Aliases

tryAutoMapUnmappedMembers
alias tryAutoMapUnmappedMembers = AliasSeq!(tryAutoMapUnmappedMembersImpl!0, Mappings)
Undocumented in source.

Manifest constants

DestConvention
enum DestConvention;
Undocumented in source.
MappedMembers
enum MappedMembers;
Undocumented in source.
SourceConvention
enum SourceConvention;
Undocumented in source.

Parameters

TSource

The type to map from

TDest

The type to map to

Mappings

a list of ObjectMemberMapping

Return Value

A list of completed ObjectMemberMapping

Meta