ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-4500) .NET: Support identity resolver for binary enums
Date Tue, 27 Dec 2016 12:01:04 GMT
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

View raw message