When using Mapster to map data into an existing object, the mapping works correctly if the destination is a class, but does nothing when the destination is a C# record.
This appears to be caused by record immutability, but the current behavior is not clearly documented and can be misleading.
When using Mapster to map data into an existing object, the mapping works correctly if the destination is a class, but does nothing when the destination is a C# record.
This appears to be caused by record immutability, but the current behavior is not clearly documented and can be misleading.