Closed AppyMike closed 3 years ago
Just wondering how one would pass the generic parameter through injection and if this is possible? For example how would I inject the following class.
class UserService<T> {}
register { UserService<User>()} @Injected var userService: UserService<User>
register { UserService<User>()}
@Injected var userService: UserService<User>
That be it.
Just wondering how one would pass the generic parameter through injection and if this is possible? For example how would I inject the following class.
class UserService<T> {}