Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom prefix or suffix to generated types #773

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amondnet
Copy link

@amondnet amondnet commented Jan 7, 2025

Add a new configuration option typePrefix and typeSuffix to the CodeGenConfig class and update the code generation methods to append the typePrefix and typeSuffix to the generated type names.

fix #389
fix #323

@amondnet amondnet marked this pull request as ready for review January 7, 2025 09:49
Add a new configuration option `typeSuffix` to the `CodeGenConfig` class and update the code generation methods to append the `typeSuffix` to the generated type names.

* **CodeGenConfig**: Add a new configuration option `typeSuffix` to the `CodeGenConfig` class.
* **Java DataTypeGenerator**: Update the `generate` method to append the `typeSuffix` to the generated type names.
* **Kotlin DataTypeGenerator**: Update the `generate` method to append the `typeSuffix` to the generated type names.
@FyiurAmron
Copy link

@amondnet looks really great and I would really look forward to have this merged or published ASAP - or, if things can't go rapidly enough here, re-publishing your fork directly via GPP under different co-ords so that everyone interested in it could temporarily use it easily until it's merged upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding custom suffix to generated types feature: Prefix type names
2 participants