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

chore: isolate CoreConstruct imports to avoid merge conflicts #12850

Merged
merged 6 commits into from
Feb 4, 2021

Conversation

nija-at
Copy link
Contributor

@nija-at nija-at commented Feb 3, 2021

As part of CDKv2, the construct layer in '@aws-cdk/core' is
being replaced with the constructs API in the 'constructs'
module. During the transition period between v1 and v2,
both exist.

On the master branch, code will include importing
Construct from the '@aws-cdk/core' module but this
will not be possible in the v2-main branch where this API
does not exist.

Any change to the same line as the import of the Construct
symbol will cause merge conflicts. Hence, move the import
into a separate line and section to avoid these conflicts.


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

@gitpod-io
Copy link

gitpod-io bot commented Feb 3, 2021

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Feb 3, 2021
@nija-at nija-at force-pushed the nija-at/eslint-coreconstruct branch from d5c65b8 to 43e920c Compare February 3, 2021 18:55
@nija-at nija-at requested review from eladb and a team February 4, 2021 09:30
@nija-at nija-at self-assigned this Feb 4, 2021
@nija-at nija-at marked this pull request as ready for review February 4, 2021 09:30
@mergify
Copy link
Contributor

mergify bot commented Feb 4, 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
Collaborator

AWS CodeBuild CI Report

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

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

@mergify
Copy link
Contributor

mergify bot commented Feb 4, 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 404b556 into master Feb 4, 2021
@mergify mergify bot deleted the nija-at/eslint-coreconstruct branch February 4, 2021 10:30
NovakGu pushed a commit to NovakGu/aws-cdk that referenced this pull request Feb 18, 2021
)

As part of CDKv2, the construct layer in '@aws-cdk/core' is
being replaced with the constructs API in the 'constructs'
module. During the transition period between v1 and v2,
both exist.

On the `master` branch, code will include importing
`Construct` from the '@aws-cdk/core' module but this
will not be possible in the `v2-main` branch where this API
does not exist.

Any change to the same line as the import of the `Construct`
symbol will cause merge conflicts. Hence, move the import
into a separate line and section to avoid these conflicts.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
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.

None yet

3 participants