is there a reason the `KoinJavaComponent` function...
# koin
a
is there a reason the
KoinJavaComponent
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.
by functionality i just mean not having to pass a
clazz
parameter.
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
yes it could, but the interest is to have a “interface marker” to avoid having it everywhere
a
yup, i ended up making my own interface marker but inlining the functions
a
you can open a ticket on Github to suggest it 👍