Skip to content

Conversation

@dennisdoomen
Copy link
Member

If a collection contains another collection referring to objects without visible properties, BeEquivalentTo will throw and complain about missing members. This was caused by the IsRoot property on INode that misinterpreted the path string [0].MyProperty[0] as if we were processing the objects in the root collection.

Fixed #1710

…complain about missing members

If a collection contains another collection referring to objects without visible properties, BeEquivalentTo will throw and complain about missing members. This was caused by the IsRoot property on INode that misinterpreted the path string [0].MyProperty[0] as if we were processing the objects in the root collection.
@dennisdoomen dennisdoomen merged commit 6bed4a6 into fluentassertions:master Oct 20, 2021
@dennisdoomen dennisdoomen deleted the Fix/1710 branch October 20, 2021 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Collections.BeEquivalentTo throws exception with sub-collections (v6.1.0)

2 participants