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

Read annotations to request's fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0
    • 1.8.1
    • java
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: