299fe25a04
Previously unknown values were round-tripping through flatmap and coming out as known strings containing the UnknownVariableValue. (The classic bug that, ironically, was one of the big reasons to write cty!) Now we properly handle unknown values in both directions: going in to flatmap we write UnknownVariableValue at the appropriate key (as the count for sequences or maps) and then coming out of flatmap we turn UnknownVariableValue back into a cty unknown value of the requested type. |
||
---|---|---|
.. | ||
flatmap.go | ||
flatmap_test.go | ||
single_attr_body.go | ||
values.go | ||
values_test.go |