Skip to content

test: cover MapToTarget for types with read-only base properties (#918)#972

Open
leno23 wants to merge 1 commit into
MapsterMapper:developmentfrom
leno23:test/maptotarget-mixed-readonly-base-918-dev
Open

test: cover MapToTarget for types with read-only base properties (#918)#972
leno23 wants to merge 1 commit into
MapsterMapper:developmentfrom
leno23:test/maptotarget-mixed-readonly-base-918-dev

Conversation

@leno23
Copy link
Copy Markdown

@leno23 leno23 commented May 25, 2026

Summary

  • Adds regression test for same-type Adapt(target) when the type inherits read-only base members (ObservableValidator-like pattern) alongside writable properties.

Relates to #918 (fixed on development via IsNotSelfCreation AnyAll change).

Test plan

  • MapToTarget_SameType_WithMixedReadOnlyBaseProperties_UpdatesDestination
  • CI green on development

Made with Cursor

…sterMapper#918)

Regression test for same-type Adapt(target) when the destination type
inherits read-only members alongside writable properties.

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