You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug in enum keys generation: underscores should not be removed if enum value contains digits. E. g. for value AMAZON_S3 generated key AMAZONS3 is wrong
#988
Open
nicky1038 opened this issue
Nov 20, 2024
· 0 comments
For example, this enum definition
is transformed into
Please notice
AMAZONS3
. The key should beAMAZON_S3
, but the underscore is being removed.It happens because of this regexp,
AMAZON_S3
doesn't match it. I guess the regexp should be changed in order to support names with digits.The text was updated successfully, but these errors were encountered: