Re: [jira] [Commented] (THRIFT-1477) Allow readFieldBegin() to pass back the field name instead of the field id

2012-01-03 Thread Bryan Duxbury
If you're working on 0.8+, you could always just create a new Scheme to go with your Protocol that never uses IDs and always uses names. See the TupleProtocol for an example of using a non-standard scheme. On Tue, Jan 3, 2012 at 9:53 AM, Benjy Weinberger wrote: > Sadly no. I have tried this exte

Re: [jira] [Commented] (THRIFT-1477) Allow readFieldBegin() to pass back the field name instead of the field id

2012-01-03 Thread Benjy Weinberger
Sadly no. I have tried this extensively, but if read() can't accept this information directly then the TProtocol implementation has to receive it out-of-band somehow. It seemed like it would be possible to generate it up front from the available FieldValueMetaData - starting at the root class and w

[jira] [Commented] (THRIFT-1477) Allow readFieldBegin() to pass back the field name instead of the field id

2012-01-03 Thread Bryan Duxbury (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178850#comment-13178850 ] Bryan Duxbury commented on THRIFT-1477: --- This feels like it would unnecessarily com

[jira] [Commented] (THRIFT-1477) Allow readFieldBegin() to pass back the field name instead of the field id

2012-01-03 Thread Dave Watson (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178833#comment-13178833 ] Dave Watson commented on THRIFT-1477: - Like this idea. Would love a way to have TJso