<@U2HGU8V6J> Re. `Set&lt;T&gt;` haven't tried it m...
# announcements
r
@dsowerby Re.
Set<T>
haven't tried it myself but ran into a similar issue with Dagger2 --
Set<T>
in Kotlin is covariant on T i.e. it is actually equivalent to
Set<? extends T>
in java (since a Kotlin
Set
is read-only). Try changing it to
MutableSet<T>
which is equivalent to the invariant java
Set<T>
, and see if Guice can inject it then.