-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
We get false cyclic dependency exceptions (ObjectGraphDiff.cs:87).
Thrown if both left and right graph contain value type objects that hash to the same value (e.g. MongoDB.Bson.ObjectId with the same value in each graph).
Also: It is also thrown for reference types types that only contain such value types, e.g.:
public class TimeRange
{
public readonly TimeSpan Start;
public readonly TimeSpan End;
public TimeRange(string hhmmStart, string hhmmEnd)
{
//..
}
}
It would be great if it was possible to disable the cyclic dependency checking. We know that our graphs are not cyclic. :-)
Also, we think there may be a problem in ODiff.Extensions.ObjectExtensions.cs:32. Perhaps it is better to use obj is ValueType?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels