When using the env backend, then the only keys considered will be those with config: field tags. However, if you're using a file backend, then the entire struct is unmarshaled from the source, and all fields will be considered, even those without a config tag.
So it's possible there are some fields which are configurable only with the file backend and not with the env backend.
I think that probably that any keys that don't specify the config: tag should be ignored so backends are more consistent.
When using the env backend, then the only keys considered will be those with
config:field tags. However, if you're using a file backend, then the entire struct is unmarshaled from the source, and all fields will be considered, even those without a config tag.So it's possible there are some fields which are configurable only with the file backend and not with the env backend.
I think that probably that any keys that don't specify the
config:tag should be ignored so backends are more consistent.