Skip to content

Conversation

@rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented Jan 15, 2026

This requires that IBucket extends IBucketRef, etc.


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

This requires that `IBucket extends IBucketRef`, etc.
@rix0rrr rix0rrr requested review from a team January 15, 2026 11:01
@github-actions github-actions bot added the p2 label Jan 15, 2026
@aws-cdk-automation aws-cdk-automation requested a review from a team January 15, 2026 11:02
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jan 15, 2026
@rix0rrr rix0rrr force-pushed the huijbers/force-extends branch from 9f944ca to ea8e187 Compare January 16, 2026 09:03
@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Jan 19, 2026
eval: e => {
const bases = e.ctx.getInterfaces(true);

e.assert(bases.some(b => b.name.endsWith('Ref')), e.ctx.fqn);
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure how strict we want to be, but this rule would allow IBucket to extend SomeNonsenseRef while not extending IBucketRef.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I understand. "Close enough for government work" was my take. This is not to prevent cheating the system, it is to prevent forgetting.

@mergify
Copy link
Contributor

mergify bot commented Jan 19, 2026

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).

@mergify
Copy link
Contributor

mergify bot commented Jan 19, 2026

Merge Queue Status

✅ The pull request has been merged at 7717128

This pull request spent 59 minutes 43 seconds in the queue, including 42 minutes 15 seconds running CI.
The checks were run in-place.

Required conditions to merge

@aws-cdk-automation aws-cdk-automation removed the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Jan 19, 2026
@mergify
Copy link
Contributor

mergify bot commented Jan 19, 2026

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).

@mergify
Copy link
Contributor

mergify bot commented Jan 19, 2026

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).

@mergify mergify bot merged commit 2d5c210 into main Jan 19, 2026
17 of 18 checks passed
@mergify mergify bot deleted the huijbers/force-extends branch January 19, 2026 16:34
@github-actions
Copy link
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

contribution/core This is a PR that came from AWS. p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants