public icon indicating copy to clipboard operation
public copied to clipboard

Optical channel reference to it's logical channel

Open ejbrever opened this issue 1 year ago • 0 comments

I'd like to propose adding a new state leaf to optical channels that would be a reference to the logical channel that is directly assigned to it; if it is assigned to a logical channel.

Currently the model has the reverse reference from the logical channel --> optical channel.

However, it is not trivial to do the reverse as that involves two layers of lists to iterate through (logical-channels and then logical-channel-assignments) which can be an expensive query to make if when there are a lot of logical-channels. Having the reverse direction in the model would provide a lot of simplicity in doing this lookup.

ejbrever avatar Jun 13 '24 00:06 ejbrever