databricks-cli/libs
shreyas-goenka 878bb6deae
Return better error messages for invalid JSON schema types in templates (#661)
## Changes
Adds a function to validate json schema types added by the author. The
default json unmarshaller does not validate that the parsed type matches
the enum defined in `jsonschema.Type`

Includes some other improvements to provide better error messages.

This PR was prompted by usability difficulties reported by @mingyu89
during mlops stack migration.

## Tests
Unit tests
2023-08-15 14:28:04 +00:00
..
auth Upgraded Go version to 1.21 (#664) 2023-08-15 13:50:40 +00:00
cmdio Upgraded Go version to 1.21 (#664) 2023-08-15 13:50:40 +00:00
databrickscfg Always resolve .databrickscfg file (#659) 2023-08-14 12:45:08 +00:00
errs Added ability for deferred mutator execution (#380) 2023-05-16 18:01:50 +02:00
filer Upgraded Go version to 1.21 (#664) 2023-08-15 13:50:40 +00:00
fileset Don't sync symlink folders (#205) 2023-02-15 17:02:54 +01:00
flags Upgraded Go version to 1.21 (#664) 2023-08-15 13:50:40 +00:00
git Consolidate functions in libs/git (#652) 2023-08-10 09:36:42 +00:00
jsonschema Return better error messages for invalid JSON schema types in templates (#661) 2023-08-15 14:28:04 +00:00
locker Upgraded Go version to 1.21 (#664) 2023-08-15 13:50:40 +00:00
log Upgraded Go version to 1.21 (#664) 2023-08-15 13:50:40 +00:00
notebook Error out if notebook file does not exist locally (#261) 2023-03-21 18:13:16 +01:00
sync Extend deployment mode support (#577) 2023-07-30 07:19:49 +00:00
template Return better error messages for invalid JSON schema types in templates (#661) 2023-08-15 14:28:04 +00:00
terraform Add bundle destroy command (#300) 2023-04-06 12:54:58 +02:00
testfile Refactor and cover edge cases in sync integration tests (#160) 2023-01-10 13:16:30 +01:00