mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
bbbf22d8e4
This allows basic static validation of a traversal against a schema, to verify that it represents a valid path through the structural parts of the schema. The main purpose of this is to produce better error messages (using our knowledge of the schema) than we'd be able to achieve by just relying on HCL expression evaluation errors. This is particularly important for nested blocks because it may not be obvious whether one is represented internally by a set or a list, and incorrect usage would otherwise produce a confusing HCL-oriented error message. |
||
---|---|---|
.. | ||
coerce_value_test.go | ||
coerce_value.go | ||
decoder_spec_test.go | ||
decoder_spec.go | ||
doc.go | ||
implied_type_test.go | ||
implied_type.go | ||
internal_validate_test.go | ||
internal_validate.go | ||
nestingmode_string.go | ||
none_required.go | ||
schema.go | ||
validate_traversal_test.go | ||
validate_traversal.go |