# Seeking feedback on my proposed Apache Thrift generator improvements

**URL:** <https://erlangforums.com/t/seeking-feedback-on-my-proposed-apache-thrift-generator-improvements/4795>\
**Category:** Seeking Feedback\
**Tags:** thrift, erlang\
**Created:** [May 28, 2025, 2:11pm UTC](https://erlangforums.com/t/seeking-feedback-on-my-proposed-apache-thrift-generator-improvements/4795 "2025-05-28T14:11:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kpy3](https://erlangforums.com/user_avatar/erlangforums.com/kpy3/32/238_2.png) [@kpy3](https://erlangforums.com/u/kpy3)\
**Post date:** [May 28, 2025, 2:11pm UTC](https://erlangforums.com/t/seeking-feedback-on-my-proposed-apache-thrift-generator-improvements/4795/1 "2025-05-28T14:11:41Z")

</div>

Hi there,

I’ve prepared some [improvements](https://github.com/apache/thrift/pull/3122) to erlang generator in Apache Thrift. Before asking to merge, I’d like to ask try my fork anyone who use thrift and give a feedback.

Improvements incudes:

- Mark exception declaration with ‘exception’ in commentary
- Mark enum declaration with ‘enum’ in commentary
- Generate type for typedef declaration, use generated type instead of base type in declaration
- Generate type for enum values, type consist of declared values. Use constant names in type declaration
- Avoid integer type as enum value type, use generated type instead
- Avoid magic numbers for enum as default values, use enum’s constant name instead
- Introduce nominal types (Erlang 28+)
