InlineMapping icon indicating copy to clipboard operation
InlineMapping copied to clipboard

Handle Mappable Properties

Open JasonBock opened this issue 4 years ago • 0 comments

If there's a type that has been set to be mappable, and two properties exist between the source and destination that use that type, I should use the MapTo...() method between them, rather than simply setting one equal to another. Or at least give the user a way to configure that behavior.

There's issues with using the mapping method. I can easily fall into a recursive loop: A has a property of type B, B has a property of type C, C has a property of type A, and....I have to figure out a strategy to catch that and decide what to do with that. Keep going? Have a limit? Let the user configure the behavior?

JasonBock avatar Aug 11 '21 12:08 JasonBock