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

Reflect that ref origins have multiple constraints #74

Merged
merged 1 commit into from
Jul 27, 2021

Conversation

radeksimko
Copy link
Member

@radeksimko radeksimko commented Jul 26, 2021

We collect origins and targets in parallel (not sequentially) and we cannot know which constraint would match the target if the origin has multiple constraints - such as in Terraform resource blocks have depends_on which may contain multiple schema.TraversalExpr with different ScopeIds.

Matching of the scope needs to be done only against decoded targets, not sooner.

@radeksimko radeksimko force-pushed the f-origin-constraints branch 4 times, most recently from baeb761 to 63ecafb Compare July 27, 2021 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant