FIELDS constant should contain name of enumerated type for enum fields
----------------------------------------------------------------------

                 Key: THRIFT-245
                 URL: https://issues.apache.org/jira/browse/THRIFT-245
             Project: Thrift
          Issue Type: Improvement
          Components: Compiler (Ruby)
            Reporter: Bryan Duxbury
            Priority: Trivial


When a Ruby struct is generated, if the struct has fields that are of 
enumerated types, it is converted into an i32 field, and no trace of the 
enumerated type is recorded. I propose we add a new key to the FIELDS entries, 
:enum_class, that contains the class constant for the enumerated type. This 
way, you can reflectively determine both that the field is of an enumerated 
type and which type it is. 

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

Reply via email to