Skip to content

Auto-apply MapperConfigurations specified using ApplyAfter attributes #91

@gbansk

Description

@gbansk
  1. I have a class that inherits a few properties and I have noticed that by default, i have to create a map for each of these properties, they are not automatically mapped, is this the expected behaviour?

  2. If I have the following configurations, Grandparent, Parent, Child, and grandparent maps the parent configuration, parent maps the child configurationand I have used the ApplyAfter to make sure that child is mapped before parent, and parent is mapped by grandparent I get an MappingConfigurationException error if the grandparent does not also include the child configuration.

Is it possible to define the mappings at the lower levels and not additionally reference the configurations at a higher level. That is, if parent maps child, then grandparent only needs to reference parent configuration and not additionally the child configuration.

I suspect that this is caused the the ApplyAfter attribute.

Hope this maps sense,

Thanks,
Gary

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions