Skip to content

Conversation

@matthiasbeyer
Copy link
Contributor

Description

After discussion on discord with @flub I tried to improve the wording of the function a bit here.

I am open to discussion of course.

Comment on lines +311 to +312
/// The internals of the [`Builder`] use the discovery objects passed to this function and
/// automatically combines them upon [`Builder::bind`] via a
Copy link
Contributor

Choose a reason for hiding this comment

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

If you call this method multiple times, all discovery services passed in will be combined via an internal [crate::discovery::ConcurrentDiscovery]. To remove all discovery services already added to the builder use [Self::clear_discovery].

Would be my attempt. And that would remove the separate paragraph about clearing below.

Would be great if you could also fix the wrong function name in the paragraph above and link it to [IntoDiscovery::into_discovery]

@n0bot n0bot bot added this to iroh Oct 30, 2025
@github-project-automation github-project-automation bot moved this to 🏗 In progress in iroh Oct 30, 2025
@matthiasbeyer
Copy link
Contributor Author

Stop merging to other peoples PRs!

@ramfox
Copy link
Member

ramfox commented Nov 1, 2025

Stop merging to other peoples PRs!

If this is directed at me, it's my job to ensure that our releases go out in a timely fashion and to help folks get their PRs merged ASAP for that.

I apologize for the frustration but:
a) this was not an appropriate way to communicate it.
b) I reserve the right to try to keep PRs up to date in this way, when we are nearing our deadline and the PRs are doc adjustments & so merges will not interfere with code contributions.

@matheus23
Copy link
Member

Stop merging to other peoples PRs!

This is a setting you have control over in GitHub:
image

But I'd kindly ask you to reserve us the right to modify your PRs, as that makes our lives easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

4 participants