Closed michaelgwelch closed 3 years ago
If you have two instances and each has a null value for Values and the same Id you'd expect them to be considered equal. But this uses an exclusive or operator which results in a false being returned.
null
Values
Id
false
https://github.com/metasys-server/basic-services-dotnet/blob/31e7f5727feef654da7e43e193cfeff2e08c03c7/MetasysServices/Models/VariantMultiple.cs#L38-L40
I was wrong. Closing.
If you have two instances and each has a
null
value forValues
and the sameId
you'd expect them to be considered equal. But this uses an exclusive or operator which results in afalse
being returned.https://github.com/metasys-server/basic-services-dotnet/blob/31e7f5727feef654da7e43e193cfeff2e08c03c7/MetasysServices/Models/VariantMultiple.cs#L38-L40