mirror of https://github.com/databricks/cli.git
f60ad32f07
## Changes Allows custom untyped fields in the root config in json-schema so it doesn't highlight errors when using yaml-anchors. Example use case: ``` tags: &job-tags environment: ${bundle.target} resources: jobs: db1: tags: <<: *job-tags db1: tags: <<: *job-tags ``` One downside is that we don't highlight any unknown top-level properties anymore (but they will still fail during CLI validation) ## Tests Manually checked behavior in VSCode - it doesn't show validation error. Also checked that other typed properties are still suggested |
||
---|---|---|
.. | ||
basic.yml | ||
deprecated_job_field_format.yml | ||
hidden_job_field_deployment.yml | ||
hidden_job_field_edit_mode.yml | ||
incorrect_volume_type.yml | ||
invalid_enum_value_in_job.yml | ||
invalid_enum_value_in_model.yml | ||
invalid_reference_in_job.yml | ||
invalid_reference_in_model.yml | ||
readonly_job_field_git_snapshot.yml | ||
readonly_job_field_job_source.yml | ||
required_field_missing_in_job.yml | ||
unknown_field_in_job.yml | ||
unknown_field_in_model.yml |