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 45400d70d2
commit e70d767183
161 changed files with 668 additions and 436 deletions

View File

@@ -19,6 +19,5 @@ interface FeatureEntryPoint
* Can be used when the feature only exposes a simple node without the need of plugins.
*/
fun interface SimpleFeatureEntryPoint : FeatureEntryPoint {
context(parentNode: Node)
fun createNode(buildContext: BuildContext): Node
fun createNode(parentNode: Node, buildContext: BuildContext): Node
}