-
Notifications
You must be signed in to change notification settings - Fork 47
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
Add WithProtocols
marker
#276
base: develop
Are you sure you want to change the base?
Add WithProtocols
marker
#276
Conversation
|
||
def test_get_by_not_protocol() -> None: | ||
provider = Provider(scope=Scope.APP) | ||
provider.provide(C, provides=WithProtocols[C]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need either another naming or another logic.
For WithParents
we provide class itself together with parents. The same is expected here if we keep the prefix With
We need more tests to ensure that:
Probably, we check most (but not all) of things by testing |
Let's keep this open for a while, but do not merge. |
No description provided.