You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Piotr Kozikowski (JIRA)" <ji...@apache.org> on 2008/12/12 16:02:44 UTC

[jira] Assigned: (THRIFT-191) Add ability to get a field name from a field id

     [ https://issues.apache.org/jira/browse/THRIFT-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Piotr Kozikowski reassigned THRIFT-191:
---------------------------------------

    Assignee: Piotr Kozikowski

> Add ability to get a field name from a field id
> -----------------------------------------------
>
>                 Key: THRIFT-191
>                 URL: https://issues.apache.org/jira/browse/THRIFT-191
>             Project: Thrift
>          Issue Type: New Feature
>          Components: Compiler (Java)
>            Reporter: Nathan Marz
>            Assignee: Piotr Kozikowski
>            Priority: Minor
>
> It would be nice to be able to get a field name for a field id. For instance, if I have the following struct:
> struct Foo {
> 1: optional i32 number;
> }
> I should be able to say something like "Foo.getFieldNameForFieldId(1)" and get back the string "number". The use case for this is for debugging/logging.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.