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

New lint: non-sealed trait added supertrait #441

Open
Tracked by #5
obi1kenobi opened this issue Apr 25, 2023 · 1 comment
Open
Tracked by #5

New lint: non-sealed trait added supertrait #441

obi1kenobi opened this issue Apr 25, 2023 · 1 comment
Labels
A-lint Area: new or existing lint E-help-wanted Call for participation: Help is requested to fix this issue. E-mentor Call for participation: Mentorship is available for this issue.

Comments

@obi1kenobi
Copy link
Owner

obi1kenobi commented Apr 25, 2023

Semver-major, because 3rd party types that used to impl the trait in the last version might not impl the new supertrait imposed in the new version.

Example breaking change in the real-world: https://github.com/awslabs/smithy-rs/pull/2577/files#diff-82252c5a4ad7e9d34be9254db1afe172d0f01c067b121de20ff7f7f29d7cf223L24

@obi1kenobi obi1kenobi added A-lint Area: new or existing lint E-help-wanted Call for participation: Help is requested to fix this issue. E-mentor Call for participation: Mentorship is available for this issue. labels Apr 25, 2023
@obi1kenobi
Copy link
Owner Author

Requires checking whether a trait is sealed, which requires work on the adapter and isn't the best initial onboarding task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lint Area: new or existing lint E-help-wanted Call for participation: Help is requested to fix this issue. E-mentor Call for participation: Mentorship is available for this issue.
Projects
None yet
Development

No branches or pull requests

1 participant