mirror of https://github.com/databricks/cli.git
aa0c715930
## Changes Before this change, any error in a subtree would cause the entire subtree to be dropped from the output. This is not ideal when debugging, so instead we drop only the values that cannot be normalized. Note that this doesn't change behavior if the caller is properly checking the returned diagnostics for errors. Note: this includes a change to use `dyn.InvalidValue` as opposed to `dyn.NilValue` when returning errors. ## Tests Added unit tests for the case where nested struct, map, or slice elements contain an error. |
||
---|---|---|
.. | ||
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 |