Anyone got a good way of making a parent-child rel...
# announcements
d
Anyone got a good way of making a parent-child relationship without mutating one or the other? https://stackoverflow.com/questions/53130288/how-do-i-create-a-parent-child-relationship-in-immutable-kotlin-classes
d
Use a mutable builder.
Ah! it's missing a bit...
Ok, Updated with a more extended solution @dmcg
👍 1