I have a service which implements an interface with a generic type.  The
builders look like this:

ReadWriteState<User> buildUserState()

ReadWriteState<Item> buildItemState()

I have the following dependency injection:

MyService buildMyService(ReadWriteState<User> userState)

The automatic dependency injection sees two matches, since it is not
qualifying the type with the generic.  Is there any good reason that these
two services cannot be seen as unique based on their generic type?

Ben

Reply via email to