You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2016/12/27 12:01:04 UTC
[jira] [Created] (IGNITE-4500) .NET: Support identity resolver for
binary enums
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)