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

Reduce scenarios used when conditions match #2277

Merged
merged 1 commit into from
May 25, 2022

Conversation

kddejong
Copy link
Contributor

@kddejong kddejong commented May 24, 2022

Issue #, if available:
#2212

Description of changes:

  • Before this change, when conditions are evaluated to determine scenarios we will pull all the equals that are under each condition. In very complex scenarios this list can get long even though most of the equals don't overlap. This change reduces the scenarios to where the equals overlap. We add in one outside scenario to help create a complete list when a parent has an and or or

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@kddejong kddejong merged commit 0ed27d7 into aws-cloudformation:main May 25, 2022
@kddejong kddejong deleted the fix/issue/2212 branch May 25, 2022 22:37
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