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

fix: avoid self referencing import for external build transforms #1453

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Nov 14, 2024

In one of the submodules there is a fully qualified import pointed to itself.

This works in Node.js, but I believe some build transforms may have trouble with it as reported in aws/aws-sdk-js-v3#6626.

This PR moves the import and adds a custom linter to prevent this pattern.

@kuhe kuhe requested a review from a team as a code owner November 14, 2024 16:28
@kuhe kuhe merged commit c6ef519 into smithy-lang:main Nov 14, 2024
11 checks passed
@kuhe kuhe deleted the fix/imports branch November 14, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants