ed8144cda1
When nested attributes are of type cty.DynamicPseudoType, a block spec that is backed by a cty collection is annoying to use because it requires all of the blocks to have homogenous types for such attributes. These new specs are similar to BlockListSpec and BlockMapSpec respectively, but permit each nested block result to have its own distinct type. In return for this flexibility, we lose the ability to predict the exact type of the result: these specs must just indicate their type as being cty.DynamicPseudoType themselves, since we need to know how many blocks there are and what types are inside them before we can know our final result type. |
||
---|---|---|
.. | ||
block_labels.go | ||
decode.go | ||
doc.go | ||
gob.go | ||
public_test.go | ||
public.go | ||
schema.go | ||
spec_test.go | ||
spec.go | ||
variables_test.go | ||
variables.go |