Open joonas-yoon opened 1 year ago
oh i like this idea, especially that N:M aspect. i'm for it and thinks it fits well in the language design. The arrays would be explicit though, like
Object -> Fruit -> [Apple, Avocado, Banana, Grape, Melon]
instead of
Object -> Fruit -> Apple, Avocado, Banana, Grape, Melon
@nhooyr any thoughts?
(this is a beautiful issue report)
Seems reasonable to me!
I was trying to connect classes in a row as like:
the output what I expected and what I've got is:
but this is not what I want to do.
so I wrote the code like the following and its result is:
Object -> Fruit -> Avocado
Object -> Fruit -> Banana
Object -> Fruit -> Grape
Object -> Fruit -> Melon
Do you have any plan to support some of array operations in connection?
I think this will be useful when user want to create N:N connections with same objects.
Cloud -> Processor
Processor -> CPU
CPU -> 0
CPU -> 1
CPU -> 2
Processor -> GPU
GPU -> 0
GPU -> 1
GPU -> 2