Alias

annotation class Alias(val value: String)

Deprecated

Use environments instead

Annotation to use a specific implementation (defined in any injectable class) in a constructor/method parameter

constructor(param1:Interface, @Alias("name") param2:Interface) this will inject the default implementation of Interface as param1 and "name" implementation of Interface as param2

Author

Pau Corbella

Since

1.0.0

Properties

Link copied to clipboard