Open
Description
I'm opening an issue to track some low-hanging fruit with regard to Swift 6 features that we should explore in Connect-Swift:
- Enforcing strict concurrency: I believe all these warnings were fixed with Add more
Sendable
conformances to resolve warnings #309, but we should switch the toolchain to Swift 6 to enforce this - Typed
throws
: Would it make sense to addthrows(ConnectError)
in some places? - Utilize
package
visibility: The files in this directory are commented as internal-only but arepublic
so they can be consumed byConnectNIO
. We can make thesepackage
instead once running on the updated toolchain to remove these from the public interface
We are currently blocked on fully adopting Swift 6 by apple/swift-protobuf#1729.
Metadata
Metadata
Assignees
Labels
No labels