amzn / kotlin-inject-anvil

Extensions for the kotlin-inject dependency injection framework
Apache License 2.0
182 stars 2 forks source link

Contributed multibindings in the same round are not picked up by a merged component #22

Closed ZacSweers closed 1 week ago

ZacSweers commented 1 week ago

Repro: https://github.com/slackhq/circuit/pull/1635

./gradlew :samples:kotlin-inject:kspKotlin

The multibinding hints are correctly generated, but they are seemingly not picked up and included into AppComponentMerged for some reason, which is what has me thinking this is a round ordering/deferral issue.

image

ZacSweers commented 1 week ago

Talked offline, I was missing that custom annotations also need to have code gen run over them 👍