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

Changes for non mutating response body writer #28

Closed
wants to merge 1 commit into from

Conversation

adam-fowler
Copy link
Member

@adam-fowler adam-fowler requested a review from Joannis as a code owner December 5, 2024 20:32
@@ -10,7 +10,7 @@ let package = Package(
.library(name: "HummingbirdCompression", targets: ["HummingbirdCompression"])
],
dependencies: [
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.0.0"),
.package(url: "https://github.com/hummingbird-project/hummingbird.git", branch: "non-mutating-response-body-writer"),
Copy link
Member

Choose a reason for hiding this comment

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

Mark: Branch

@@ -140,11 +140,16 @@ class HummingBirdCompressionTests: XCTestCase {
struct VerifyResponseBodyChunkSize<Context: RequestContext>: RouterMiddleware {
let bufferSize: Int

struct Writer: ResponseBodyWriter {
var parentWriter: any ResponseBodyWriter
final class Writer: ResponseBodyWriter {
Copy link
Member

Choose a reason for hiding this comment

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

Do we have a strong preference here? Since the type is internal I don't think we necessarily want to change this

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