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

Carl Hall commented on THRIFT-2143:
-----------------------------------

Hi [~jensg], IIRC I added {{::Thrift::Types::ENUM}} to know when an {{int}} 
value should be used to find the {{enum}} value in a list since the int value 
transmitted is the enum position.

There's a good chance that I'll be back in the space soon, so I'll hopefully be 
able to provide more exception/error details if my description above doesn't 
help much.

> Generated Ruby client doesn't handle enums
> ------------------------------------------
>
>                 Key: THRIFT-2143
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2143
>             Project: Thrift
>          Issue Type: Bug
>          Components: Ruby - Compiler
>    Affects Versions: 0.9, 0.9.1
>            Reporter: Carl Hall
>         Attachments: thrift-2143.diff
>
>
> The generated ruby client includes and uses enums but doesn't send or receive 
> them correctly. They go out as i32 and are expected to be received as i32. 
> While this is the underlying data type, it breaks things that expect the enum 
> to come through.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to