amzn / kotlin-inject-anvil

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

Add support for multi-binding map codegen #86

Open simonlebras opened 2 weeks ago

simonlebras commented 2 weeks ago

Add support for contributing to a map multibinding with a new MapKey annotation. This new annotation is repeatable, so that we can contribute the same binding with multiple keys.

Fixes #48

Credits to https://github.com/r0adkll/kimchi for the mapkey codegen