Skip to content

fix: skip destination transforms for explicit member maps (#952)#966

Open
leno23 wants to merge 1 commit into
MapsterMapper:developmentfrom
leno23:fix/explicit-null-map-952-dev
Open

fix: skip destination transforms for explicit member maps (#952)#966
leno23 wants to merge 1 commit into
MapsterMapper:developmentfrom
leno23:fix/explicit-null-map-952-dev

Conversation

@leno23
Copy link
Copy Markdown

@leno23 leno23 commented May 25, 2026

Summary

  • Explicit .Map(...) configuration now takes precedence over global DestinationTransform rules such as EmptyCollectionIfNull
  • Prevents explicit null member mappings from being overridden by collection transforms

Fixes #952

Test plan

  • CI passes (WhenPerformingDestinationTransforms.Explicit_Null_Mapping_Is_Not_Overridden_By_EmptyCollectionIfNull)

Made with Cursor

…per#952)

Explicit .Map(...) configuration should take precedence over global
DestinationTransform rules such as EmptyCollectionIfNull.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant