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

.NET: Non-Int32 enums can't be serialized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.1
    • platforms

    Description

      There is no way to serialize non-Int32 enums.

      Enums in .NET can be byte, sbyte, short, ushort, int, uint, long, ulong (see https://docs.microsoft.com/en-us/dotnet/articles/csharp/language-reference/keywords/enum).

      We should write all of these except long and ulong properly (converting them to int and back).
      long and ulong enums should be written as object.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: