You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@avro.apache.org by mi...@speakeasyapp.net on 2015/03/02 20:19:27 UTC
Can't seem to get AVRO-1186 style embedded annotations working
Example:
record TokenAcquisitionResponse
{
boolean success = true;
union{null, DeviceRegistrationResponse} deviceResponse = null;
union{null, string} errorMessage;
@javaAnnotation("java.lang.Deprecated")
union{null, string} accessToken;
}
In my IDL. When I generate the object using maven builder plugin, it doesn’t put the @Deprecated annotation anywhere.
Am I missing something. Oh this is Avro 1.7.6