You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's specific to record types where the ignored member is a settable property outside the primary constructor (e.g. BoxPost added as a plain { get; set; } rather than a constructor parameter) — RecordTypeAdapter.RecordInlineExpression was building the MemberInit binding without ever checking the IgnoreIf condition. Details and a minimal repro are in the PR description.
@alihut Thanks, it fix This fix has been added in the new version.
But it still won't work quite the same way as mutable types (handled by ClassAdapter).
For mutable types:
IgnoreIF() applied IgnoreNullValues(true) if it is installed
Activity
DocSvartz commentedon Aug 12, 2026
HI @MaximBusyrev, destination type is record ?
MaximBusyrev commentedon Aug 13, 2026
@DocSvartz source and destination is records
alihut commentedon Aug 19, 2026
I found the root cause and opened a fix: #1008
It's specific to record types where the ignored member is a settable property outside the primary constructor (e.g. BoxPost added as a plain { get; set; } rather than a constructor parameter) — RecordTypeAdapter.RecordInlineExpression was building the MemberInit binding without ever checking the IgnoreIf condition. Details and a minimal repro are in the PR description.
DocSvartz commentedon Aug 20, 2026
@MaximBusyrev @alihut
IgnoreIF()is not supported for record type in version 7.4.0 and version 10.@alihut Thanks, it fix This fix has been added in the new version.
But it still won't work quite the same way as mutable types (handled by ClassAdapter).
For mutable types:
IgnoreIF()appliedIgnoreNullValues(true)if it is installedMost likely, there will already be certain changes related to this in version 10.1.
[-]"IgnoreIf" doesn't work[/-][+]"IgnoreIf" doesn't work for records[/+]MaximBusyrev commentedon Sep 2, 2026
@alihut thanks for fix