-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
AWSHTTPClient.shutdown doesn't state Sendable callback #621
Comments
What version of Soto are you using? |
I'm using |
And what version of SotoCore are you using. Maybe you need to run a package update. I've been compiling with both 5.6 and 5.7 for ages without issue. |
The latest async-http-client set that callback to be Sendable, which is really a breaking change for swift 5.6 and shouldn't have been implemented. swift-log did the same thing as well. I think this is general teething problems with adopting Sendable. I'll fix it for Soto as well |
This should be fixed by soto-project/soto-core#518 when it gets merged. I would like to get the NIOLock warnings fixed as well before doing a merge, but swift-nio missed one method, which has just been rectified. Once they include that in a release I can do a release for SotoCore |
@adam-fowler Thanks for the fix! |
Fixed in v6.1.3 |
Current
AWSHTTPClient.shutdown
doesn't requireSendable
callback:but corresponding function in
HTTPClient
does.This fails the compilation with (on Swift 5.6)
or produces warning (on Swift 5.7)
The text was updated successfully, but these errors were encountered: