Extracting intent into runtime
Hello!
What is the canon way to extract keys from types like these:
In a way that the resulting object is
?
Would it be achieved with
internal.distribute
?5 Replies
Yeah you'd have to write a custom distribute that's not exactly a standard operation
Got it!
And the type:
Nice! That looks pretty clean 🧹
Is there a key for both
required()
and optional()
? Or is it just [...branch.required(), ...branch.optional()]
?Yeah you should look at
StructureNode