Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Custom annotations are currently supported on almost all types, but not on enums (and their values), exceptions, functions and services. This issue proposes to add that support, so that all type definitions are uniform in this regard.
This is useful, in particular, in custom code generation off thrift IDLs. For example, we want to annotate each value in an enum with a "database name" so we can match it with enum names in our database (which for various reasons are not the same as the names of the enum values).