Skip to content

[Feature Request] PropertiesComparer for different types #4935

Description

@Edgaras91

Please add support for comparing 2 different object types, that have the same (or different) properties, to compare their property values.
Very similar to
Assert.That(one, Is.EqualTo(two).UsingPropertiesComparer());
but for different types. Then a parameter to map different properties, or ignore different properties.

A direct replacement for FluentAssertions customerEntity.Should().BeEquivalentTo(customerDto) in hopes of uninstalling that package due to a recent license change.

Edit: I realised this is a duplicate of: #4244

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions