Please note that there's a TODO entry in mise::EnvMapVisitor.visit_map. The issue is that deserialize_with = "deserialize_arr" can either be left off or added topath: Vec<PathEntry>:
If it is left off, the feature works as demonstrated but 3 tests fail;
if it is added, lazy path entries ({ value = "{{ env.GEM_HOME }}/bin" }) cause a parse error (invalid type: map, expected a string) but the 3 failing tests now pass.
I am hoping you can help me address this issue, as I don't understand Serde / Rust well enough yet.
This is also the reason why I didn't add any tests for this feature yet.
Implements #1912.
Please note that there's a TODO entry in
mise::EnvMapVisitor.visit_map
. The issue is thatdeserialize_with = "deserialize_arr"
can either be left off or added topath: Vec<PathEntry>
:{ value = "{{ env.GEM_HOME }}/bin" }
) cause a parse error (invalid type: map, expected a string
) but the 3 failing tests now pass.I am hoping you can help me address this issue, as I don't understand Serde / Rust well enough yet. This is also the reason why I didn't add any tests for this feature yet.
Thanks!