is there some common mistake that would cause me t...
# kodein
j
is there some common mistake that would cause me to see a
must not override an existing binding
error? I am seeing
Binding bind<MyRepository>() with ? { ? } must not override an existing binding.
, however there's only one place in a single kodein module where this binding is declared. is it possible I'm seeing this because this module is somehow being added twice?
y
Are you importing that module twice?
If so, you need to use
importOnce(theModule)