arnaud.giuliani
03/05/2021, 1:00 PMbind
DSL stronger 👍Alexander Zhdanov
03/05/2021, 2:02 PMbind
overload with KClass
parameter type safe is not backward-compatible, so it can be done in 3.x releasebind
overload without KClass
parameter can't be made type-safe without extra verbocity in its usage 😟arnaud.giuliani
03/08/2021, 3:10 PMAlexander Zhdanov
03/08/2021, 3:19 PMKClass
of BeanDefinition
can be done to ensure type safety, but kotlin's reflection is not available in commonMain
module.arnaud.giuliani
03/08/2021, 3:24 PMAlexander Zhdanov
03/08/2021, 3:37 PMbind
methods safe. IMHO, bind
without params may be deprecated, until checking supertype of KClass
will be available without reflectionarnaud.giuliani
03/08/2021, 3:57 PMAlexander Zhdanov
03/09/2021, 3:37 PMBeanDefinition.secondaryTypes
in checkModules
, so types of bind
without params now may be checked at compile time by CheckModulesTest
.arnaud.giuliani
03/09/2021, 4:35 PMAlexander Zhdanov
03/09/2021, 4:56 PMcheckModules
is useful now, when plugin compiler is not available yetarnaud.giuliani
03/10/2021, 8:35 AMFabio
03/28/2021, 10:54 PM@inject
ticket. I've been keen on having that too.
I'm thirsty to use ksp (as in #ksp channel) to enhance checkModules
first though, through code generation.
I see them as related because one of the ways to do @inject would be generate the graph and code at compile time. Not a small change though.arnaud.giuliani
03/29/2021, 4:36 PM