Skip to content
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

Fix withConnectedSocket in async mode #2937

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Conversation

Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Oct 21, 2024

Motivation:

The async flavour of withConnectedSocket accidentally type-erased the channel, which caused it to be unable to be used.

Modifications:

Un-erase the type of the channel.
Add a test.

Result:

withConnectedSocket works again
Resolves #2936

Motivation:

The async flavour of withConnectedSocket accidentally type-erased
the channel, which caused it to be unable to be used.

Modifications:

Un-erase the type of the channel.
Add a test.

Result:

withConnectedSocket works again
@Lukasa Lukasa added the 🔨 semver/patch No public API change. label Oct 21, 2024
@Lukasa Lukasa merged commit 49cd78b into apple:main Oct 21, 2024
31 of 32 checks passed
@Lukasa Lukasa deleted the cb-async-wcs branch October 21, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

withConnectedSocket(_:channelInitializer:) in ClientBootstrap is not working
2 participants