Closed Kixunil closed 1 year ago
Consider changing sequence to map in specification Toml input. That means:
[[param]] name = "foo" type = "String"
would become:
[param.foo] type = "String"
Alternative that makes Toml input map more directly to Rust code, catching duplicates much more early:
[field.foo] cli = "param" # other possibilities: switch, disabled type = "String"
So far I think I prefer the less verbose option, duplicate detection can be written differently.
@dr-orlovsky @romanz would appreciate your thoughts.
I agree.
Agree
Consider changing sequence to map in specification Toml input. That means:
would become:
Alternative that makes Toml input map more directly to Rust code, catching duplicates much more early:
So far I think I prefer the less verbose option, duplicate detection can be written differently.
@dr-orlovsky @romanz would appreciate your thoughts.