Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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(assertions): throw error or warn when
synth
is called multiple times on mutated construct tree #31865fix(assertions): throw error or warn when
synth
is called multiple times on mutated construct tree #31865Changes from 16 commits
c4e1795
fd13c07
f780751
299733d
31afea1
e9cbc48
1c5cff1
c111479
f7e70bb
8e6a194
8798232
de57d44
af20ae7
9a2e089
a78ab0e
c7430d8
ac524e1
280e2e2
39cc2fd
c133601
02f405c
b68519a
e8b866b
6f098be
4fec523
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure we can really use the exact same message. the call to action is different when there is an error vs a warning. In my head, the error scenario is this:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we print this as a warning. And now what? The message text implies that we are in the warning situation and is trying to say the following:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This existing pipelines test had to be changed to not throw an error - all I did was move the stack mutations before the
Template.fromStack()
callsThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's perfect!