decoder: validateBody
should support schema extensions
#290
Labels
enhancement
New feature or request
validateBody
should support schema extensions
#290
Requires #287
Problem Statement
In the work on functions & expressions we introduced the concept of extensions for handling
count
andfor_each
. Both aren't part of the regular attributes for a block, but are introduced by enabling the specific extensions for a block.If the extensions are enabled for a block, we should not raise diagnostics for those attributes. If not, it's helpful to raise them.
Proposal
validateBody
to includeBodyExtensions
when validating a filecount
for_each
dynamic
might just work™Part of hashicorp/vscode-terraform#720
The text was updated successfully, but these errors were encountered: