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

Fixes for Swift 6 mode with latest SwiftNIO #605

Merged
merged 2 commits into from
Nov 15, 2024
Merged

Fixes for Swift 6 mode with latest SwiftNIO #605

merged 2 commits into from
Nov 15, 2024

Conversation

adam-fowler
Copy link
Member

SwiftNIO are doing a lot of work to get themselves Swift 6 ready
This impacts Hummingbird when compiling in Swift 6 mode. It is not possible anymore to call addHandler with a non-Sendable ChannelHandler.

This PR fixes this by using the syncOperations instead

FYI @Lukasa, @FranzBusch

Copy link

github-actions bot commented Nov 13, 2024

@adam-fowler adam-fowler merged commit 8921230 into main Nov 15, 2024
7 checks passed
@adam-fowler adam-fowler deleted the nio-6-fixes branch November 15, 2024 11:31
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.

2 participants