Thread
#dagger
    m

    mattinger

    10 months ago
    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

    10 months ago
    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

    10 months ago
    memoized sentinel wtf 😀 sounds like something from Doom