Skip to content

Reversing left and right objects in call to Diff changes the diff.PropertyType returned (but not Property) #30

@malclear

Description

@malclear

I diff'ed two instance of Order where a new OrderDetail instance had been added to the array of one: changedOrder. If the originalOrder was on the left in the function call, then the resulting diff.PropertyType evaluated to "System.Collections.Generic.List'1[Models.OrderDetail]", as expected. --> However, ifchangedOrder was on the left, then the diff.Property type evaluated to "Models.OrderDetail".

Note that in both cases, the diff.Property value was "OrderDetails" (with an 's'), which is the collection variable's name.

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions