Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1820

Read annotations to request's fields

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.8.1
    • Component/s: java
    • Labels:
      None

      Description

      IDL compiler supports annotations on field's type but doesn't support annotations on field itself. I mean you can write something like

      ...
      void method(int @annotation("value") param);
      ...
      

      which translates to

      ...{
              "name" : "param",
              "type" : "int",
              "annotation" : "value"
            }...
      

      but we lose annotations at org.apache.avro.Protocol.parseMessage. Another related to this bug is AVRO-1819

        Attachments

          Activity

            People

            • Assignee:
              DrVirtual Konstantin Usachev
              Reporter:
              DrVirtual Konstantin Usachev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: