Quantcast
Channel: Fluent Assertions
Viewing all articles
Browse latest Browse all 1402

Commented Feature: Exclude properties on nested objects [11841]

$
0
0
We'd like to compare two aggregate roots ignoring a few audit properties (CreatedBy, CreatedOn) on all entities within the root.

AllPropertiesBut() only excludes properties on the root object.

I think this is similar to this post below in that we'd like to configure how nested objects are compared:

http://fluentassertions.codeplex.com/discussions/284312
Comments: Associated with changeset 80521: Changed the override method to be more fluent.
Added the option to override the assertions for all properties of a certain type.
Properly documented the other members of the StructuralEqualityConfiguration.
Fixed a compile error in the .NET for Metro specs.

Viewing all articles
Browse latest Browse all 1402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>