Skip to content

Commit

Permalink
Remove Sendable conformance from ResponseEncoder/RequestDecoder
Browse files Browse the repository at this point in the history
This conformance is not longer needed and gets in the way of using various coder implementations
  • Loading branch information
adam-fowler committed Apr 22, 2024
1 parent 32a724e commit d2a0d60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Hummingbird/Codable/CodableProtocols.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import HTTPTypes

/// protocol for encoders generating a Response
public protocol ResponseEncoder: Sendable {
public protocol ResponseEncoder {
/// Encode value returned by handler to request
///
/// - Parameters:
Expand All @@ -25,7 +25,7 @@ public protocol ResponseEncoder: Sendable {
}

/// protocol for decoder deserializing from a Request body
public protocol RequestDecoder: Sendable {
public protocol RequestDecoder {
/// Decode type from request
/// - Parameters:
/// - type: type to decode to
Expand Down

0 comments on commit d2a0d60

Please sign in to comment.