Skip to content

chore(core): remove deprecated construct dependency APIs#13871

Merged
mergify[bot] merged 6 commits intov2-mainfrom
benisrae/v2/remove-dependency-trait
Apr 6, 2021
Merged

chore(core): remove deprecated construct dependency APIs#13871
mergify[bot] merged 6 commits intov2-mainfrom
benisrae/v2/remove-dependency-trait

Conversation

@eladb
Copy link
Copy Markdown
Contributor

@eladb eladb commented Mar 30, 2021

Delete bunch of remaining APIs that are deprecated and available in constructs 10.x

Follow up of #12054


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

Delete bunch of remaining APIs that are deprecated and available in constructs 10.x

Follow up of #12054
@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Mar 30, 2021

@eladb eladb requested review from NetaNir, nija-at and rix0rrr March 30, 2021 08:26
@github-actions github-actions bot added the @aws-cdk/core Related to core CDK functionality label Mar 30, 2021
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Mar 30, 2021
@@ -1177,7 +1177,7 @@ export class Vpc extends VpcBase {
*/
private subnetConfiguration: SubnetConfiguration[] = [];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

At a glance, it looks like many of these can be applied to master instead of v2-main.

* required to call the Grant factory functions.
*/
export class Grant implements cdk.IDependable {
export class Grant implements IDependable {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

could we do export class Grant implements cdk.IDependable, IDependable { on master, and mark the former as deprecated?

class LookedUpVpc extends VpcBase {
public readonly vpcId: string;
public readonly internetConnectivityEstablished: IDependable = new ConcreteDependable();
public readonly internetConnectivityEstablished: IDependable = new DependencyGroup();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

similar. can we mark internetConnectivityEstablished as deprecated and introduce new equivalent props?

@eladb
Copy link
Copy Markdown
Contributor Author

eladb commented Apr 6, 2021

@nija-at following on our chat, let me know if you approve this.

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 6, 2021

Thank you for contributing! Your pull request will be updated from master 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
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 24ce80e
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 6, 2021

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

@mergify mergify bot merged commit 1945c60 into v2-main Apr 6, 2021
@mergify mergify bot deleted the benisrae/v2/remove-dependency-trait branch April 6, 2021 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@aws-cdk/core Related to core CDK functionality contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants