You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While implementing template expressions in #322, we discovered some edge cases for template expressions inside objects and maps. In the past, we ran into similar problems with completion inside objects and maps with incomplete configuration.
Nested ObjectConsExpr
Completion currently fails for nested objects where the inner object is incomplete
attr={
foo = {
bar
}
}
Nested TemplateExpr
Completion currently fails for empty template expressions inside objects
Context
While implementing template expressions in #322, we discovered some edge cases for template expressions inside objects and maps. In the past, we ran into similar problems with completion inside objects and maps with incomplete configuration.
Nested
ObjectConsExpr
Completion currently fails for nested objects where the inner object is incomplete
Nested
TemplateExpr
Completion currently fails for empty template expressions inside objects
Example test case for maps:
Proposal
We have filed two upstream issues in HCL that need to be addressed first and will likely fix the problem already:
ObjectConsExpr
with incomplete nestedObjectConsExpr
hcl#597ObjectConsExpr
with emptyTemplateExpr
hcl#641We should add/update the tests for objects, maps, and template expression to make sure the feature works as expected.
The text was updated successfully, but these errors were encountered: