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 79579: Introduced an IAssertionRule that takes the subject and expectation value and the PropertyInfo of the subject property. Returns true if the rule handled the assertion and no other rules should be considered.

Viewing all articles
Browse latest Browse all 1402

Trending Articles



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