databricks-cli/libs/dyn/convert
Pieter Noordhuis dcb9c85201
Empty struct should yield empty map in `convert.FromTyped` (#1177)
## Changes

This was an issue in cases where the typed structure contains a non-nil
pointer to an empty struct. After conversion to a `dyn.Value` and back
to the typed structure, the pointer became nil.

## Tests

Unit tests.
2024-02-07 09:25:07 +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 Rename libs/config -> libs/dyn (#1086) 2023-12-22 13:20:45 +00:00
to_typed_test.go Rename libs/config -> libs/dyn (#1086) 2023-12-22 13:20:45 +00:00