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

Pass known singeltons/parameters when autowiring #6

Open
maldoinc opened this issue Nov 19, 2023 · 0 comments
Open

Pass known singeltons/parameters when autowiring #6

maldoinc opened this issue Nov 19, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@maldoinc
Copy link
Owner

The @container.autowire decorator will simply return a new function that will bind container objects to the function on call. Since this will happen on every call, even though cached it still has a small performance penalty.

On registration, if the container has been warmed up we should bind any known singleton services and parameters as the container is considered final.

@maldoinc maldoinc added the enhancement New feature or request label Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant