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

Adding Builder for Channels #143

Merged
merged 1 commit into from
Feb 13, 2023
Merged

Conversation

spyrkob
Copy link
Contributor

@spyrkob spyrkob commented Feb 8, 2023

No description provided.

/**
* Builder for channel class
*/
public static class Builder {
Copy link
Member

Choose a reason for hiding this comment

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

Is it required that this builder be public and part of the API?
Could we make it `package-protected so that we can use that internally (and in the tests) instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think the public builder would be useful for the Channel. The Channel has a lot of optional properties and using the public constructor is becoming a bit confusing.

But it's preferred not to expose that, I can make it package protected

Copy link
Member

Choose a reason for hiding this comment

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

thanks for the explanation, LGTM

@jmesnil jmesnil merged commit 6fc9e33 into wildfly-extras:main Feb 13, 2023
@jmesnil
Copy link
Member

jmesnil commented Feb 13, 2023

@spyrkob thanks

@spyrkob spyrkob deleted the channel_builder branch February 13, 2023 08:03
@jmesnil jmesnil added this to the 1.0.0.Beta5 milestone Feb 28, 2023
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.

2 participants