You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2017/07/04 15:58:01 UTC
[jira] [Updated] (IGNITE-4500) .NET: Support identity resolver for
binary enums
[ https://issues.apache.org/jira/browse/IGNITE-4500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Tupitsyn updated IGNITE-4500:
-----------------------------------
Fix Version/s: (was: 2.1)
> .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
> Labels: .NET
>
> 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.4.14#64029)