databricks-cli/libs/dyn/convert
Pieter Noordhuis 0b5fdcc346
Zero destination struct in `convert.ToTyped` (#1178)
## Changes

Not doing this means that the output struct is not a true representation
of the `dyn.Value` and unrepresentable state (e.g. unexported fields)
can be carried over across `convert.ToTyped` calls.

## Tests

Unit tests.
2024-02-07 09:25:53 +00:00
..
end_to_end_test.go Fix dynamic representation of zero values in maps and slices (#1154) 2024-01-31 14:25:13 +00:00
error.go Rename libs/config -> libs/dyn (#1086) 2023-12-22 13:20:45 +00:00
from_typed.go Empty struct should yield empty map in `convert.FromTyped` (#1177) 2024-02-07 09:25:07 +00:00
from_typed_test.go Empty struct should yield empty map in `convert.FromTyped` (#1177) 2024-02-07 09:25:07 +00:00
normalize.go Rename libs/config -> libs/dyn (#1086) 2023-12-22 13:20:45 +00:00
normalize_test.go Rename libs/config -> libs/dyn (#1086) 2023-12-22 13:20:45 +00:00
struct_info.go Rename libs/config -> libs/dyn (#1086) 2023-12-22 13:20:45 +00:00
struct_info_test.go Rename libs/config -> libs/dyn (#1086) 2023-12-22 13:20:45 +00:00
to_typed.go Zero destination struct in `convert.ToTyped` (#1178) 2024-02-07 09:25:53 +00:00
to_typed_test.go Zero destination struct in `convert.ToTyped` (#1178) 2024-02-07 09:25:53 +00:00