-
Notifications
You must be signed in to change notification settings - Fork 158
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
koanf.Unmarshal doesn't work when loaded with env provider #275
Labels
Comments
in case you didn't know, it works when you provide a delimiter: |
@wass3r thanks. But this is undefined behaviour. Although I didn't provide delimeter, accessing with k.String("key") in above example works fine. However, the field didn't get unmarshalled. |
knadh
added a commit
that referenced
this issue
Mar 9, 2024
knadh
added a commit
that referenced
this issue
Apr 3, 2024
knadh
added a commit
that referenced
this issue
Apr 3, 2024
knadh
added a commit
that referenced
this issue
Apr 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
koanf.Unmarshal doesn't work when loaded by env provider
Is this expected behaviour?
Test: this test has no dependencies like files, envrionemnt variables.
Expected behavior
Value must have been successfully unmarshalled into a struct.
The text was updated successfully, but these errors were encountered: