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

Handle duplicate field names in BinaryMarshaller.

    XMLWordPrintableJSON

Details

    Description

      Consider the following scenario:

      class A {
          int field;
      }
      class B : class A {
          int field;
      }
      

      In this case BinaryMarshaller will throw an exception about duplicate field names. And there is no sensible workaround for user.

      We can add some prefix/suffix to comflicting fields. E.g. A.field will be written as "field", B.field will be written as "field_B".

      Attachments

        Issue Links

          Activity

            People

              vozerov Vladimir Ozerov
              vozerov Vladimir Ozerov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: