ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-4500) .NET: Support identity resolver for binary enums
Date Tue, 18 Apr 2017 10:09:41 GMT

     [ 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.0)
                   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
>             Fix For: 2.1
>
>
> 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.15#6346)

Mime
View raw message