jmattheis / goverter

Generate type-safe Go converters by simply defining an interface
https://goverter.jmattheis.de/
MIT License
487 stars 46 forks source link

Unable to specify matchIgnoreCase at CLI args and Interface comment #62

Closed pavelpatrin closed 1 year ago

pavelpatrin commented 1 year ago

Is your feature request related to a problem? Please describe. I'm converting gRPC messages to domain models. My domain models has ID field in upper case everywhere, but gRPC generated code uses Id name. It relates to all converter methods, but I can't specify matchIgnoreCase on interface level.

Describe the solution you'd like I want to specify matchIgnoreCase option for entire interface or via CLI.

Describe alternatives you've considered Right now I'm specifying this tag for every method, but is is not really convenient.

pavelpatrin commented 1 year ago

I already implemented this in my branch and will prepare Pull Request right now.

pavelpatrin commented 1 year ago

@jmattheis thank you so much!