-
-
Notifications
You must be signed in to change notification settings - Fork 248
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
UseFieldNameByDefault
doesn't support acronyms
#295
Comments
sorry for the lack of response, def a bug, feel free to PR it, otherwise I'll give it a try when I can PS: probably worth looking into how the |
caarlos0
added a commit
that referenced
this issue
Mar 16, 2024
closes #295 Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
caarlos0
added a commit
that referenced
this issue
Mar 16, 2024
closes #295 Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
caarlos0
added a commit
that referenced
this issue
Mar 16, 2024
closes #295 Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
BorzdeG
pushed a commit
to BorzdeG/env
that referenced
this issue
Aug 24, 2024
closes caarlos0#295 Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, this is a great feature 🚀
Quick description of the issue
I have a field called
HTTPVersion
.When using the
UseFieldNameByDefault
option, it translates it toH_TT_P_VERSION
, when I expect it to beHTTP_VERSION
.A demo of the issue
Suggestion
Looks like it comes down to
toEnvName
.I've tried a quick, simple and efficient fix, which will preserve acronyms (i.e. it will translate it to
HTTP_VERSION
).I'll be happy to open a PR in case it's relevant.
The text was updated successfully, but these errors were encountered: