Closed sublee closed 1 month ago
I'm not 100% sure anymore, maybe because matchIgnoreCase is defined as case insensitive field matching and enum values aren't really fields.
That said, I'm not against adding the matchIgnoreCase feature to enums with the same setting.
Thanks for sharing your opinion. I'll open a separate issue of the feature request. I think I can implement the feature in a few days.
Have you read the project documentation?
Describe your question A clear and concise description of what the question is.
goverter:matchIgnoreCase
cannot be used for enums members. It supports structs only. I'd like to know the design decision behind this behavior. Is the current behavior inevitable? Or, should it support both enums and structs in the future?Source code Include source code to give context for your question.
Errors Include errors that occur while you run goverter.