Hi Will, Sorry, wasn't clear enough in my email. When I wrote "So even though the enum classes have mappings, I can't inspect an arbitrary thrift object and work out the enum class", I was referring to those dictionaries. The problem is that I can't find out the class of the enum through introspection because it has an int type and it's not in thrift_spec.
On Sat, Jun 1, 2013 at 10:01 PM, Will Pierce <[email protected]> wrote: > You can use the generated enum class's _VALUES_TO_NAMES and > _NAMES_TO_VALUES internal dictionary to map between the numeric and textual > names. > > >
