Hi there,
Does scaldi support any feature for ambiguity resolutions? I mean I would like to prevent compillation/or running application if there is any ambiguityies in the bindings.
Lets take a look at the example. The class with defaul parameter
class SecureRandomIDGenerator(idSizeInBytes: Int = 128)
class MyModule extends Module {
binding to 1
binding to 42
binding to injected [SecureRandomIDGenerator]
}
I would assume the 42 will be used as the
idSizeInBytes value. That becomes not so straight forward, if I have a lot of modules which are combined together.
Cheer,
Boris