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

feat(swarm): deprecate SwarmBuilder in favor of configuring Swarm #3189

Conversation

thomaseizinger
Copy link
Contributor

@thomaseizinger thomaseizinger commented Dec 2, 2022

Description

We expose various fields on Pool as pub(crate) so we can modify them after a Pool has been constructed. This allows us to deprecate SwarmBuilder and add configuration options to Swarm directly.

Resolves #3186.

Notes

Depends-On: #3188

Links to any relevant issues

Open Questions

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • A changelog entry has been made in the appropriate crates

@mxinden
Copy link
Member

mxinden commented Dec 14, 2022

As mentioned in #3186 (comment) I would prefer making SwarmBuilder the only mechanism through which one can obtain a Swarm. @thomaseizinger are we on the same page or am I missing something?

@thomaseizinger
Copy link
Contributor Author

As mentioned in #3186 (comment) I would prefer making SwarmBuilder the only mechanism through which one can obtain a Swarm. @thomaseizinger are we on the same page or am I missing something?

We are on the same page but this PR is older than your comment :)

@thomaseizinger thomaseizinger deleted the 3186-deprecate-swarm-builder branch February 24, 2023 14:48
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