Skip to content

Conversation

@kuyugama
Copy link
Member

No description provided.

@kuyugama kuyugama self-assigned this Nov 26, 2025
@kuyugama kuyugama added the enhancement New feature or request label Nov 26, 2025
@kuyugama
Copy link
Member Author

kuyugama commented Jan 4, 2026

Idea: Create dependency roles in injection context. They could be used to deal with lifespan dependencies that should be closed after each injection.

Possible roles:
stable - Lifespan dependency can be shared between multiple injections
unstable - Lifespan dependency should be closed immediately after injection and should not be added into cache.

It is likely, that it would require to rewrite entire injection system to support it, so, I'll just put it here for now.

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

Successfully merging this pull request may close these issues.

2 participants