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

Make it possible to use Registry without requiring ArbiterService #550

Merged
merged 11 commits into from
Jun 9, 2024

Conversation

frewsxcv
Copy link
Contributor

@frewsxcv frewsxcv commented Mar 8, 2023

PR Type

Docs

PR Checklist

Check your PR fulfills the following:

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made for the appropriate packages.
  • Format code with the latest stable rustfmt

Overview

One of the downsides of the ArbiterService trait is that it requires Default, which isn't always easy to implement. This pull request makes it possible to use Registry without requiring ArbiterService, by removing the ArbiterService, and introducing a try_get method.

@frewsxcv
Copy link
Contributor Author

@robjtede Whenever you have a few minutes, do you have any feedback about this one?

@robjtede
Copy link
Member

robjtede commented Aug 3, 2023

FYI this is waiting on the other two checklist items before I can merge it.

robjtede
robjtede previously approved these changes Jun 9, 2024
Copy link
Member

@robjtede robjtede left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏻

@robjtede robjtede added this pull request to the merge queue Jun 9, 2024
Merged via the queue into actix:master with commit 5e5ec1c Jun 9, 2024
11 checks passed
@frewsxcv frewsxcv deleted the patch-1 branch June 10, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants