mirror of https://github.com/databricks/cli.git
f5f57b6bf9
## Changes If a struct has a field of type `config.Value`, then we set it to the source value while converting a `config.Value` instance to a struct as part of a call to `convert.ToTyped`. This is convenient when dealing with deeply nested structs where functions on inner structs need access to the metadata provided by their corresponding `config.Value` (e.g. where they were defined). ## Tests Added unit tests pass. |
||
---|---|---|
.. | ||
end_to_end_test.go | ||
error.go | ||
from_typed.go | ||
from_typed_test.go | ||
normalize.go | ||
normalize_test.go | ||
struct_info.go | ||
struct_info_test.go | ||
to_typed.go | ||
to_typed_test.go |