Skip to content

6.2.1 doesn't map properties of specific implementation of interfaces #2420

@swisszeni

Description

@swisszeni

MCVE

See gist

Version: 6.2.1

Expected behavior

With 6.2.0, the Name property of BarDto gets Mapped to the same property in Bar

Actual behavior

With 6.2.1, the Name property doesn't get mapped and is null in Bar

Steps to reproduce

Use the gist as a console App with AutoMapper 6.2.0 and 6.2.1. Don't forget to clean the solution between version change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions