You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2009/12/09 00:44:18 UTC

[jira] Updated: (AVRO-250) reflect's Union annotation should be applicable to method parameters and return types

     [ https://issues.apache.org/jira/browse/AVRO-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated AVRO-250:
------------------------------

    Status: Patch Available  (was: Open)

> reflect's Union annotation should be applicable to method parameters and return types
> -------------------------------------------------------------------------------------
>
>                 Key: AVRO-250
>                 URL: https://issues.apache.org/jira/browse/AVRO-250
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.3.0
>
>         Attachments: AVRO-250.patch
>
>
> Some interface method parameters may optionally be null, which Avro's reflection does not normally allow.  Similarly, some methods may return null instead of an instance of their declared return type.  Avro's Union annotation should permit one to annotate such parameters and methods so that the correct schema is inferred.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.