Add test on DefaultSpaceEntryPoint

This commit is contained in:
Benoit Marty 2025-09-12 11:55:59 +02:00
parent ba51b29d23
commit a69cf58a5b
5 changed files with 115 additions and 4 deletions

View file

@ -11,6 +11,6 @@ import com.bumble.appyx.core.modality.BuildContext
import com.bumble.appyx.core.node.Node
import com.bumble.appyx.core.plugin.Plugin
interface AssistedNodeFactory<NODE : Node> {
fun interface AssistedNodeFactory<NODE : Node> {
fun create(buildContext: BuildContext, plugins: List<Plugin>): NODE
}

View file

@ -46,8 +46,7 @@ inline fun <reified N : Node> NodeFactoriesBindings.createNode(
return node as N
}
// @BindingContainer
interface NodeFactoriesBindings {
fun interface NodeFactoriesBindings {
@Multibinds
fun nodeFactories(): Map<KClass<out Node>, AssistedNodeFactory<*>>
}