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

Unhide ecn variants #2105

Merged
merged 3 commits into from
Dec 21, 2024
Merged

Unhide ecn variants #2105

merged 3 commits into from
Dec 21, 2024

Conversation

gretchenfrage
Copy link
Collaborator

@gretchenfrage gretchenfrage commented Dec 20, 2024

See #2097

I took the liberty of committing b11f2bf. Unfortunately, it is semver breaking for everything. Users must convert x.is_ce() to x == EcnCodepoint::Ce.

Copy link
Collaborator

@Ralith Ralith left a comment

Choose a reason for hiding this comment

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

I don't think we should get rid of the getters. They're a reasonably common idiom even with public variants because they're nice and terse, and the churn doesn't seem justified anyway.

Can you touch on the motivation for exposing the variants? I don't mind doing so, but I'd like to understand why.
Ah, this was discussed in the cited issue.

@gretchenfrage
Copy link
Collaborator Author

Removed that commit.

@gretchenfrage gretchenfrage requested a review from Ralith December 20, 2024 19:41
@Ralith Ralith enabled auto-merge December 20, 2024 19:43
@Ralith Ralith added this pull request to the merge queue Dec 20, 2024
auto-merge was automatically disabled December 20, 2024 20:49

Pull Request is not mergeable

auto-merge was automatically disabled December 20, 2024 21:17

Pull Request is not mergeable

auto-merge was automatically disabled December 20, 2024 21:49

Pull Request is not mergeable

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Dec 20, 2024
@djc djc added this pull request to the merge queue Dec 21, 2024
Merged via the queue into quinn-rs:main with commit 3395458 Dec 21, 2024
20 checks passed
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