Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: associate correct constraints with nested origins #75

Merged
merged 2 commits into from
Jul 30, 2021

Conversation

radeksimko
Copy link
Member

@radeksimko radeksimko commented Jul 30, 2021

This is to address a bug reported in hashicorp/terraform-ls#592 where origins were being associated with incorrect expression constraints (e.g. map of traversals instead of traversal).

There is still more work to do in terms of fully supporting nested expressions, but this at least covers the most common and obvious cases of list, set, tuple, map and object expressions. Remaining expression types are to be dealt with as part of hashicorp/terraform-ls#496 (tracked there but most of the work will be done in this repo).

@radeksimko radeksimko added the bug Something isn't working label Jul 30, 2021
@radeksimko radeksimko changed the title B ref origins schema fix: associate correct constraints with nested origins Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant