[
https://issues.apache.org/jira/browse/THRIFT-222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660875#action_12660875
]
David Reiss commented on THRIFT-222:
------------------------------------
I split this into two patches, and I moved the isSet generation into the
generate_beans_boilerplate function. What do you think?
http://gitweb.thrift-rpc.org/?p=thrift.git;a=log;h=7eb052f;hb=82c9b14
> Should have a reflection feature to know if the field corresponding to a
> field id is set
> ----------------------------------------------------------------------------------------
>
> Key: THRIFT-222
> URL: https://issues.apache.org/jira/browse/THRIFT-222
> Project: Thrift
> Issue Type: Improvement
> Components: Compiler (Java)
> Reporter: Nathan Marz
> Assignee: Piotr Kozikowski
> Attachments: thrift-222-v2.patch, thrift-222-v3.patch,
> thrift-222-v4.patch, thrift-222.patch
>
>
> The closest thing to this now is "getFieldValue(int field)", but this only
> provides the desired behavior for nullable fields since it delegates to the
> getters for each field.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.