You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(model-api-gen): utility methods for adding typed root nodes
When adding typed nodes to the untyped root node, one always had to use
a considerable amount of boilerplate code to add the new node and get it
back typed:
```kotlin
root.addNewChild(null, C_Something.untyped()).typed<N_Something>()
```
This commit adds this logic as helper methods to model-api-gen-runtime
to simplify the process to
```kotlin
root.addNewChild(C_Something)
root.addNewChild("role", C_Something)
```
0 commit comments