mirror of https://github.com/databricks/cli.git
283f24179d
## Changes
This PR removes validation for default value against the regex pattern
specified in a JSON schema at schema load time. This is required because
https://github.com/databricks/cli/pull/795 introduces parameterising the
default value as a Go text template impling that the default value now
does not necessarily have to match the pattern at schema load time.
This will also unblock:
https://github.com/databricks/mlops-stacks/pull/108
Note, this does not remove runtime validation for input parameters right
before template initialization, which happens here:
|
||
---|---|---|
.. | ||
testdata | ||
extension.go | ||
instance.go | ||
instance_test.go | ||
schema.go | ||
schema_order.go | ||
schema_order_test.go | ||
schema_test.go | ||
utils.go | ||
utils_test.go | ||
validate_type.go | ||
validate_type_test.go |