From 71b40988b07b683655fc1f389f3f262918212fd2 Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Tue, 14 May 2024 09:07:35 +0100 Subject: [PATCH] Don't add @_exported to Foundation symbols --- Sources/Hummingbird/Codable/JSON/JSONCoding.swift | 4 ++-- Sources/Hummingbird/Server/RequestContext.swift | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Sources/Hummingbird/Codable/JSON/JSONCoding.swift b/Sources/Hummingbird/Codable/JSON/JSONCoding.swift index f8e35c18f..4608062d8 100644 --- a/Sources/Hummingbird/Codable/JSON/JSONCoding.swift +++ b/Sources/Hummingbird/Codable/JSON/JSONCoding.swift @@ -13,8 +13,8 @@ //===----------------------------------------------------------------------===// import struct Foundation.Date -@_exported import class Foundation.JSONDecoder -@_exported import class Foundation.JSONEncoder +import class Foundation.JSONDecoder +import class Foundation.JSONEncoder import NIOFoundationCompat extension JSONEncoder: ResponseEncoder { diff --git a/Sources/Hummingbird/Server/RequestContext.swift b/Sources/Hummingbird/Server/RequestContext.swift index 1d77fc236..74571d929 100644 --- a/Sources/Hummingbird/Server/RequestContext.swift +++ b/Sources/Hummingbird/Server/RequestContext.swift @@ -13,6 +13,7 @@ //===----------------------------------------------------------------------===// import Atomics +import Foundation import Logging import NIOConcurrencyHelpers import NIOCore