databricks / cli

Databricks CLI
Other
115 stars 39 forks source link

Allow the any type to be set to nil in `convert.FromTyped` #1518

Closed pietern closed 1 week ago

pietern commented 1 week ago

Changes

This came up in integration testing for #1511. One of the tests converted a map[string]any to a dynamic value and encountered a nil and errored out. We can safely return a nil in this case.

Tests

Unit test passes.