You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "kalyan kumar kalvagadda (JIRA)" <ji...@apache.org> on 2018/03/28 19:38:00 UTC
[jira] [Commented] (SENTRY-2192) supress date value in @Generated
annotation generated by thrift
[ https://issues.apache.org/jira/browse/SENTRY-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16417994#comment-16417994 ]
kalyan kumar kalvagadda commented on SENTRY-2192:
-------------------------------------------------
This can be achieved by adding thrift option "generated_annotations=suppress"
> supress date value in @Generated annotation generated by thrift
> ---------------------------------------------------------------
>
> Key: SENTRY-2192
> URL: https://issues.apache.org/jira/browse/SENTRY-2192
> Project: Sentry
> Issue Type: Bug
> Components: Sentry
> Affects Versions: 2.1.0
> Reporter: kalyan kumar kalvagadda
> Assignee: kalyan kumar kalvagadda
> Priority: Major
> Fix For: 2.1.0
>
>
> With the current thrift options used, @Generated annotation adds date which kind of updates all the thrift generated files when --thriftif option used.
> When someone makes some changes to any of the thrift definitions and tries to generate the source all the auto generated files get updated.
> This can be avoided by suppressing date in the @generated annotation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)