Skip to content

Conversation

dnadoba
Copy link
Collaborator

@dnadoba dnadoba commented Sep 29, 2021

Motivation

We do not want to accidentally import NIO and instead only import NIOCore, NIOPosix or NIOEmbedded.

Changes

  • replace import NIO with corresponding fine-grained import
  • add soundness check (borrowed from swift-nio-http2) so this hopefully never slips in again.

@dnadoba dnadoba merged commit e4e233a into swift-server:main Sep 29, 2021
@dnadoba dnadoba deleted the nio-module-soundness-check branch September 29, 2021 15:42
@fabianfett fabianfett added the 🔨 semver/patch No public API change. label Oct 1, 2021
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.

3 participants