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
Is your feature request related to a problem? Please describe.
Some APIs I deal with use UpperCamelCase naming strategy for Enums. I can provide my own custom implementation of EnumNamingStrategy, but this is annoying.
Describe the solution you'd like
It would be nice if EnumNamingStrategy provided an UpperCamelCase strategy in addition to the lowerCamelCase strategy it currently provides.
This aligns more closely with PropertyNamingStrategy, which provides many common naming strategies, including UpperCamelCase and lowerCamelCase
cowtowncoder
changed the title
Add UpperCamelCase naming strategy to EnumNamingStrategies
Add UpperCamelCase naming strategy to EnumNamingStrategiesAug 16, 2024
Was hoping for a new PR, as this is a good addition. But will probably not be able to get it merged in 2.18.0 due to imminent 2.18.0-rc1 release. May go in 2.19 branch when that opens.
Is your feature request related to a problem? Please describe.
Some APIs I deal with use UpperCamelCase naming strategy for Enums. I can provide my own custom implementation of EnumNamingStrategy, but this is annoying.
Describe the solution you'd like
It would be nice if EnumNamingStrategy provided an UpperCamelCase strategy in addition to the lowerCamelCase strategy it currently provides.
This aligns more closely with PropertyNamingStrategy, which provides many common naming strategies, including UpperCamelCase and lowerCamelCase
Usage example
@EnumNaming(EnumNamingStrategies.UpperCamelCaseStrategy.class)
Additional context
I have provided an implementation pull request here
#4660
The text was updated successfully, but these errors were encountered: