hi. does dagger-hilt support nullable dependencies...
# dagger
b
hi. does dagger-hilt support nullable dependencies? e.g. i have a class which is used in both activities and fragments and the class has fragment as a depdency. when it is available it uses the fragment else other stuff class Foo constructor(@Nullable val fragment: Fragment, …) dagger-hilt now throws a compilation error because fragment has no @Provides method. how can i solve this issue without creating two different classes?