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

POC: construct compatibility removal - full #9056

Closed
wants to merge 25 commits into from

Conversation

eladb
Copy link
Contributor

@eladb eladb commented Jul 14, 2020

POC for aws/aws-cdk-rfcs#192


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

Elad Ben-Israel added 8 commits July 14, 2020 13:15
- import changes
- Logging
- Aspects
- app.synth() instead of ConstructNode.prepare()
- node.validate() instead of ConstructNode.validate()
- DependencyGroup instead of ConcreteDependable
- Tag.add() instead of applyAspect(new Tag())
- DependableTrait.implement() instead of Dependable.implement()
- Use `node.addValidation()` instead of `validate()`.
- node.validate() returns string[]
Remove usage of the `prepare()` hook from across the library.
Add an implicit "App" construct for root stacks
- removal of "construct-compat.ts"
- removal of "dependency.ts"
- implicit `App` for root `Stack`s
- introduce `Aspects.of()`
- introduce `Logging.of()`
- centralized synthesis:
  - stage assets during initialization
  - tree.synthesizeTree()
  - stack.synthesizeTemplate()
- Add `force` synthesis option
- awslint changes
- decdk changes
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jul 14, 2020
@eladb eladb marked this pull request as draft July 14, 2020 13:28
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: f9aabf9
  • Result: FAILED
  • Build Logs (available for 30 days)

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

@eladb eladb changed the title POC: Construct compatibility layer removal POC: construct compatibility removal - full Aug 10, 2020
@eladb eladb closed this Oct 5, 2020
@rix0rrr rix0rrr deleted the benisrae/construct-compat-removal-poc branch April 12, 2021 09:59
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants