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

change NIOTSNetworkEvent initializers visibility to public level #148

Merged
merged 1 commit into from
Jun 6, 2022

Conversation

fananek
Copy link
Contributor

@fananek fananek commented Jun 3, 2022

[One line description of your change]
Change NIOTSNetworkEvent initializers visibility to public level.

Motivation:

[Explain here the context, and why you're making that change. What is the problem you're trying to solve.]
Solves issue #147. Public initializers allow to extend unit test of async-http-client. For more details, see async-http-client #589

Modifications:

[Describe the modifications you've done.]
Add public initializers for all NIOTSNetworkEvents.

Result:

[After your change, what will change.]
NIOTSNetworkEvent initializers will be available across different packages.

@swift-server-bot
Copy link

Can one of the admins verify this patch?

5 similar comments
@swift-server-bot
Copy link

Can one of the admins verify this patch?

@swift-server-bot
Copy link

Can one of the admins verify this patch?

@swift-server-bot
Copy link

Can one of the admins verify this patch?

@swift-server-bot
Copy link

Can one of the admins verify this patch?

@swift-server-bot
Copy link

Can one of the admins verify this patch?

Copy link
Member

@fabianfett fabianfett left a comment

Choose a reason for hiding this comment

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

Great! Thanks very much @fananek! Let's wait for @Lukasa's opinion though before we merge.

@fabianfett
Copy link
Member

@swift-server-bot test this please

@fabianfett fabianfett requested a review from Lukasa June 3, 2022 12:13
@dnadoba dnadoba added the semver/minor Adds new public API. label Jun 3, 2022
Copy link
Collaborator

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

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

Excellent, LGTM.

@Lukasa Lukasa linked an issue Jun 6, 2022 that may be closed by this pull request
@Lukasa
Copy link
Collaborator

Lukasa commented Jun 6, 2022

@swift-nio-bot test this please

@Lukasa Lukasa enabled auto-merge (squash) June 6, 2022 10:34
@Lukasa Lukasa merged commit e90ac29 into apple:main Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make NIOTSNetworkEvents initialisers public
5 participants