Closed Davilink closed 1 month ago
I'm not sure if i'm right or wrong, so that why i didn't create a PR, but i thing there a small error here https://github.com/SergioBenitez/Figment/blob/c730bdf644e8ee0d39c82a6fdc6bd58bd551fa61/src/providers/env.rs#L243-L254
I think we should see this at the line 254
// We now have `FOO=100`, `BAR_FOO=hi`, and `foobar=hi`.
the map in the documentation is looking for something that start with foo_, not just foo
foo_
foo
Good catch! I think I meant to have foo_bar as an original env var here. Fixing now.
foo_bar
I'm not sure if i'm right or wrong, so that why i didn't create a PR, but i thing there a small error here https://github.com/SergioBenitez/Figment/blob/c730bdf644e8ee0d39c82a6fdc6bd58bd551fa61/src/providers/env.rs#L243-L254
I think we should see this at the line 254
the map in the documentation is looking for something that start with
foo_
, not justfoo