Skip to content

[none]: internal imports by default#11

Merged
tayloraswift merged 1 commit into
masterfrom
link-parser
Apr 30, 2026
Merged

[none]: internal imports by default#11
tayloraswift merged 1 commit into
masterfrom
link-parser

Conversation

@tayloraswift
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request enables the InternalImportsByDefault Swift feature and updates numerous module imports to public import across the codebase to maintain public API visibility. A review comment identifies that the NIOHTTP2 import was inadvertently removed from the HTTP/2 connection implementation and should be restored as an internal import.

import NIOHPACK
import NIOHTTP2
public import NIOCore
public import NIOHPACK
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The import of NIOHTTP2 was removed in this file. Since this file defines an HTTP/2 connection, it is highly likely that NIOHTTP2 is still required for the implementation. It should be retained as an internal import (which is the default with the InternalImportsByDefault feature enabled).

Suggested change
public import NIOHPACK
public import NIOHPACK
import NIOHTTP2

@tayloraswift tayloraswift merged commit c4e4a12 into master Apr 30, 2026
8 checks passed
@tayloraswift tayloraswift deleted the link-parser branch April 30, 2026 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant