functions arent inlined?
im having to create my own util fucntions that are, so i can get the same functionality outside of the
KoinComponent
class.
abbic
02/23/2023, 4:05 PM
by functionality i just mean not having to pass a
clazz
parameter.
abbic
02/23/2023, 4:07 PM
now that i think about it, i dont understand why a KoinComponent is needed in the first place (though its clear why a KoinScopeComponent is).
just looking at the implementation of it and KoinJavaComponent makes me think
inject
could just be a global inlined function
a
arnaud.giuliani
02/27/2023, 4:03 PM
yes it could, but the interest is to have a “interface marker” to avoid having it everywhere
a
abbic
02/27/2023, 4:05 PM
yup, i ended up making my own interface marker but inlining the functions