-
Notifications
You must be signed in to change notification settings - Fork 3
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
Choice fields with hyphens result in dashes in enum values #92
Comments
Thanks for opening this issue! We'll get back to you shortly. If it is a bug, please make sure to add steps to reproduce the issue. |
This line is preparing the name (Java):
it only removes "space" as invalid characters, it should probably remove everything that's invalid according to rudder-typer/src/generators/android/android.ts Lines 60 to 61 in 921f5e4
|
IMO it would be nice to replace any (string of) invalid characters with |
Oh, yeah, definitely! Removal is hard to read, sorry. |
This issue has been resolved in #94. Closing this now. |
For example:
Results in:
This appears to affect at least the Java and TypeScript generators.
The text was updated successfully, but these errors were encountered: