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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

frewsxcv
Copy link

@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
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.

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