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

HBResponder conforming to Sendable #252

Merged
merged 4 commits into from
Oct 29, 2023
Merged

HBResponder conforming to Sendable #252

merged 4 commits into from
Oct 29, 2023

Conversation

adam-fowler
Copy link
Member

In general this is a simple change, but it complicates the router builder slightly as it needs a mutable trie while the responder needs a sendable trie. So split it into two types, builder and type used by responder.

@codecov
Copy link

codecov bot commented Oct 27, 2023

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Files Coverage Δ
Sources/Hummingbird/ApplicationBuilder.swift 64.91% <100.00%> (ø)
...ources/Hummingbird/Middleware/CORSMiddleware.swift 93.54% <ø> (ø)
Sources/Hummingbird/Middleware/Middleware.swift 100.00% <ø> (ø)
Sources/Hummingbird/Router/EndpointResponder.swift 92.30% <100.00%> (ø)
Sources/Hummingbird/Router/RouterBuilder.swift 100.00% <100.00%> (+9.09%) ⬆️
Sources/Hummingbird/Server/Responder.swift 100.00% <100.00%> (ø)
...ces/HummingbirdFoundation/Files/CacheControl.swift 86.20% <ø> (ø)
Sources/HummingbirdFoundation/Files/FileIO.swift 88.70% <ø> (ø)
Sources/HummingbirdXCT/HBXCTRouter.swift 92.94% <100.00%> (ø)
Sources/Hummingbird/Router/RouterMethods.swift 83.65% <66.66%> (-0.97%) ⬇️
... and 1 more

... and 6 files with indirect coverage changes

📢 Thoughts on this report? Let us know!.

@adam-fowler adam-fowler requested a review from Joannis October 27, 2023 14:37
@adam-fowler adam-fowler merged commit e5729d5 into 2.x.x Oct 29, 2023
6 of 7 checks passed
@adam-fowler adam-fowler deleted the sendable-responder branch October 29, 2023 07:29
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