Skip to content

Commit

Permalink
fix(core): ensure forMember to always push mapping property to custom…
Browse files Browse the repository at this point in the history
…Properties
  • Loading branch information
nartc committed Jul 29, 2022
1 parent bc2f464 commit 27c1ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/lib/mapping-configurations/for-member.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function forMember<

// sourcePath is not in sourceObject. No AutoMap available
if (!(sourcePath[0] in sourceObject)) {
mapping[MappingClassId.properties].push([
mapping[MappingClassId.customProperties].push([
memberPath,
mappingProperty,
nestedMappingPair,
Expand Down

0 comments on commit 27c1ca0

Please sign in to comment.