<@U3BE1HS4W> honestly, this issue baffles me then
# announcements
a
@snowe honestly, this issue baffles me then
s
I think you need the splat operator.
😮 1
from the docs
Variable number of arguments (vararg) can be passed in the named form by using the spread operator:
so instead of
val guice = Guice.createInjector(modules)
instead do
val guice = Guice.createInjector(*modules)
👍 1
a
DANG
thank you so much
s
of course. I'm guessing that worked?
a
this is EXACTLY what I was looking for.
👍🏽 1
I'll show you the workaround I ended up with!