Team_RPCtester created THRIFT-5807: -------------------------------------- Summary: Generated Go enums' always appear to be <UNSET> for out of ranges values in enum Key: THRIFT-5807 URL: https://issues.apache.org/jira/browse/THRIFT-5807 Project: Thrift Issue Type: Bug Affects Versions: 0.20.0, 0.19.0 Reporter: Team_RPCtester
Hi, We discover an inconsistent behavior illustrated by the following example. {code:java} namespace go commonResource enum Enum_0 { e_0 = 0, e_1 = 1, } struct StructClass_0 { 1: required Enum_0 f_1, } service DataService { StructClass_0 Method_3(1: StructClass_0 agr_method_3) } {code} When the value of f_1 is set to 10(which is out of 0 and 1), the Go client side displays UNSET, while other languages correctly transmit the value 10. Thank you. -- This message was sent by Atlassian Jira (v8.20.10#820010)