https://kotlinlang.org logo
#dagger
Title
m

mattinger

11/18/2021, 1:42 PM
For anyone using hilt, our app has a really big graph at the moment (a ton of modules). We’re considering using hilt in our libraries first, and would need to get objects from our existing component into the SingletonComponent. I tried creating a bridge module which would pull from our singleton components’ holder to get the objects. However, it seems when i switch from the dagger to the hilt compiler, it’s not generating my existing components. If i have both, i get an error that it can’t find some MemoizedSentinal internal class. Has anyone even tried this before? We’re just not ready for a big bang yet on our singleton component.
t

trevjones

11/20/2021, 2:36 AM
I remember seeing a PR where they deleted the sentinal. have you ran a build scan to compare all the versions on configurations to ensure they are consistent?
u

ursus

11/20/2021, 6:52 PM
memoized sentinel wtf 😀 sounds like something from Doom
💯 2
4 Views