[ https://issues.apache.org/jira/browse/AVRO-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated AVRO-250: ------------------------------ Attachment: AVRO-250.patch Here's a patch that implements this. > 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.