Skip to content

Conversation

@rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented Jan 5, 2023

Currently, StackSynthesizer instances must be created fresh for each Stack. This makes it impossible to do things like specify the stack synthesizer once at the root of the construct tree (App), for example.

Lift that restriction: instances of default stack synthesizers can now be shared between multiple Stacks. User-written stack synthesizers can not magically be shared, but they can be made shareable by implementing IReusableStackSynthesizer.

Immediately add the feature of specyfing a single Stack Synthesizer at the top level.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Currently, `StackSynthesizer` instances must be created fresh for each
`Stack`. This makes it impossible to do things like specify the stack
synthesizer once at the root of the construct tree (`App`), for example.

Lift that restriction: instances of default stack synthesizers can now
be shared between multiple Stacks. User-written stack synthesizers
can not magically be shared, but they can be made shareable by
implementing `IReusableStackSynthesizer`.

Immediately add the feature of specyfing a single Stack Synthesizer
at the top level.
@rix0rrr rix0rrr added pr-linter/exempt-readme The PR linter will not require README changes pr-linter/exempt-integ-test The PR linter will not require integ test changes labels Jan 5, 2023
@rix0rrr rix0rrr requested a review from a team January 5, 2023 14:02
@rix0rrr rix0rrr self-assigned this Jan 5, 2023
@gitpod-io
Copy link

gitpod-io bot commented Jan 5, 2023

@github-actions github-actions bot added the p2 label Jan 5, 2023
@aws-cdk-automation aws-cdk-automation requested a review from a team January 5, 2023 14:02
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jan 5, 2023
* context keys have an unguessable prefix that is different on each execution.
*/

const PREFIX = `aws-cdk-private:${Math.random()}:`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tricky!

@mergify
Copy link
Contributor

mergify bot commented Jan 17, 2023

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: e94f644
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 0ce19f0 into main Jan 17, 2023
@mergify mergify bot deleted the huijbers/stack-synth branch January 17, 2023 14:40
@mergify
Copy link
Contributor

mergify bot commented Jan 17, 2023

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution/core This is a PR that came from AWS. p2 pr-linter/exempt-integ-test The PR linter will not require integ test changes pr-linter/exempt-readme The PR linter will not require README changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants