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

add param inject for auto inject #237 #238

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

IvanKirpichnikov
Copy link
Member

No description provided.

@@ -93,10 +103,11 @@ def setup_dishka(
app: Application,
*,
auto_inject: bool = False,
inject_decorator: InjectDecorator = inject,
Copy link
Member

Choose a reason for hiding this comment

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

I do not like inject_decorator as a separate parameter here as it is only applicable if auto_inject is enabled.

@Tishka17 Tishka17 added the to clarify Needs information or coordination with other issues label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to clarify Needs information or coordination with other issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants