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

refactor: enforce only 1 trait impl #11041

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

benesjan
Copy link
Contributor

@benesjan benesjan commented Jan 3, 2025

As discussed here on slack it is undesirable to allow for multiple impls of a trait for a given type. For this reason I will update our traits in this PR to follow the approach Jake described here.

Note

Decided to wait for this issue to be resolved as it makes it hard to finish this PR (it makes it hard to figure out where in the code I need to do the updates as the Serialize trait is implemented in like 80 places and I don't have the info what code exactly causes the panic)

Copy link
Contributor Author

benesjan commented Jan 3, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@benesjan benesjan added the S-blocked Status: Blocked label Jan 6, 2025
@benesjan benesjan force-pushed the 01-03-refactor_enforce_only_1_trait_impl branch from d620a30 to 2021a8f Compare January 15, 2025 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-blocked Status: Blocked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant