diff --git a/Sources/Hummingbird/Server/RequestContext.swift b/Sources/Hummingbird/Server/RequestContext.swift index 74571d929..e0cb0e846 100644 --- a/Sources/Hummingbird/Server/RequestContext.swift +++ b/Sources/Hummingbird/Server/RequestContext.swift @@ -21,17 +21,10 @@ import Tracing /// Endpoint path storage public struct EndpointPath: Sendable { - public init() { - self._value = .init(nil) - } + public init() {} /// Endpoint path - public var value: String? { - get { self._value.withLockedValue { $0 } } - nonmutating set { self._value.withLockedValue { $0 = newValue } } - } - - private let _value: NIOLockedValueBox + public var value: String? } /// Request context values required by Hummingbird itself.