[ 
https://issues.apache.org/jira/browse/THRIFT-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17085614#comment-17085614
 ] 

Zezeng Wang commented on THRIFT-2481:
-------------------------------------

Hi,

{code:java}

2. If a field is optional, the field may be omitted when serializing if it 
holds the default value ...

{code}

Is the issue of optional defaults released? There are two behaviors in my 
project, optional default values are omitted and not omitted. . .

> Java: Provide option to not write default values
> ------------------------------------------------
>
>                 Key: THRIFT-2481
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2481
>             Project: Thrift
>          Issue Type: Sub-task
>          Components: Java - Compiler
>    Affects Versions: 0.9.2
>         Environment: All
>            Reporter: Randy Abernethy
>            Priority: Major
>
> The Java compiler updates needed to support not serializing optional field 
> default values.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to