You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I wanna use []string or []someStruct as the same field to hide some complex fields from users when they not need them.
How can I make described behaviour like in example below?
To Reproduce
Example toml file
foo = ["a", "b"]
# the same asfoo = [{name = "a", value = "a"}, {name = "b", value = "b"}]
Describe the bug
I wanna use
[]string
or[]someStruct
as the same field to hide some complex fields from users when they not need them.How can I make described behaviour like in example below?
To Reproduce
Example toml file
Expected behavior
foo = ["a", "b"]
out put must be{[{a a} {b b} {c c}]}
(works for now)foo = [{name = "a", value = "a"}, {name = "b", value = "b"}]
the same{[{a a} {b b} {c c}]}
(does not work)Versions
The text was updated successfully, but these errors were encountered: