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

Use underscore version of NIOPreconcurrencySendable to silence warning #173

Merged
merged 1 commit into from
Apr 25, 2023

Conversation

dnadoba
Copy link
Member

@dnadoba dnadoba commented Apr 25, 2023

Motivation

swift-nio has deprecated NIOPreconcurrencySendable in 2.51.0. Removing the protocol conformance would be an API breaking change. Keeping the conformance is low cost and not worth the risk.

Modifications

  • replace NIOPreconcurrencySendable with underscore version _NIOPreconcurrencySendable

Result

We compile again with the latest swift-nio release without warnings

### Motivation
`swift-nio` has deprecated `NIOPreconcurrencySendable` in `2.51.0`. Removing the protocol conformance would be an API breaking change. Keeping the conformance is low cost and not worth the risk.

### Changes
- replace `NIOPreconcurrencySendable` with underscore version `_NIOPreconcurrencySendable`

### Result
We compile again with the latest `swift-nio` release without warnings
@dnadoba dnadoba added the semver/patch No public API change. label Apr 25, 2023
@dnadoba dnadoba merged commit 41f4098 into apple:main Apr 25, 2023
@dnadoba dnadoba deleted the dn-fix-warning branch April 25, 2023 13:00
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.

2 participants