Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-4500

.NET: Support identity resolver for binary enums

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • platforms

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: