koin-annotations
koin-annotations copied to clipboard
Fix issue where binds = [] has no effect
trafficstars
@Single(binds = []) and @Factory(binds = []) are expected to clear all bindings,
but currently, all supertypes are still registered.
To resolve this, remove the isNotEmpty() check from the forceDeclaredBindings condition
so that an empty binds array works as intended.