Remove context(parentNode: Node) and provide the parent Node as a parameter.

This commit is contained in:
Benoit Marty 2025-10-31 12:04:57 +01:00
parent f1822c5afd
commit 07b6148035
161 changed files with 668 additions and 436 deletions

View file

@ -18,6 +18,9 @@ interface CreatePollEntryPoint : FeatureEntryPoint {
val mode: CreatePollMode,
)
context(parentNode: Node)
fun createNode(buildContext: BuildContext, params: Params): Node
fun createNode(
parentNode: Node,
buildContext: BuildContext,
params: Params,
): Node
}