Skip to content

Handle Mappable Properties #30

@JasonBock

Description

@JasonBock

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions