Pavel Tupitsyn created IGNITE-4500:
--------------------------------------
Summary: .NET: Support identity resolver for binary enums
Key: IGNITE-4500
URL:
https://issues.apache.org/jira/browse/IGNITE-4500 Project: Ignite
Issue Type: Improvement
Components: platforms
Reporter: Pavel Tupitsyn
Fix For: 2.0
Enums are a special case when it comes to binary objects. They are written as [int typeId, int value] and do not include hash code. However, if user sets a custom identity resolver vi {{BinaryTypeConfiguration.EqualityComparer}}, he may expect it to be used when {{GetHashCode}} and {{Equals}} are called in binary form.
Investigate whether this is a right approach, add enum support to predefined identity resolvers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)