Voiteh / Depin

Dependency injection library for Ceylon
Apache License 2.0
0 stars 0 forks source link

Allow extract class or interface with provided name #68

Closed Voiteh closed 4 years ago

Voiteh commented 4 years ago

Currently it is not possible but should be it is very simple...

Voiteh commented 4 years ago

Allow injecting interfaces - This is not valid feature. it would be better to provide ability to extract Interface from Depin

Voiteh commented 4 years ago

It is not possible to extract using type and name of declaration separately as we lookup Dependency.Definition's with given declaration open type. Switching to closed type makes impossible to resolve function parameters, this seems a bug in Ceylon.