@salomonbrys is it not advised to bind function types? I have a binding for
(Long) -> String
, but when I inject it, I get a
(String) -> Request)
which is obviously not good.
d
dave08
08/24/2018, 8:32 AM
You could always make it into a factory, and inject that, that's why there's factory2() and factory3() injectors, to support even multiple params. @eygraber