Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.1, 0.2
-
None
-
Patch Available
Description
If you have an enum in one thrift file and a struct with a field of that enum in another thrift file, the generated ruby code will try to validate the field's value against the enum's class, but without the namespace, resulting in errors.
Also, I found one other place where we should use the fully qualified type name instead of just the type name - when rendering constants of a struct.