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

Handle type parameters of function or class #14

Open
Voiteh opened this issue Jun 21, 2019 · 0 comments
Open

Handle type parameters of function or class #14

Voiteh opened this issue Jun 21, 2019 · 0 comments
Assignees
Labels
Enhancement New feature or request Priority Low Low priority issue

Comments

@Voiteh
Copy link
Owner

Voiteh commented Jun 21, 2019

It could be implemented with new typeParameter annotation which would indicate to Depin that given dependency is a type parameter for other dependency or injection. It would be only possible to annotate Type returning factory functions or values with that annotation. It is not possible in compile time to determine if given dependency type parameter matches required but it is possible in runtime via TypeParameter.satisfiedTypes and TypeParameter.caseTypes

@Voiteh Voiteh self-assigned this Jun 21, 2019
@Voiteh Voiteh added Enhancement New feature or request Priority Low Low priority issue labels Jun 21, 2019
@Voiteh Voiteh added this to the First release milestone Jun 21, 2019
@Voiteh Voiteh removed this from the First release milestone Jun 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Priority Low Low priority issue
Projects
None yet
Development

No branches or pull requests

1 participant