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
It could be implemented with new
typeParameter
annotation which would indicate toDepin
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 viaTypeParameter.satisfiedTypes
andTypeParameter.caseTypes