Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optical channel reference to it's logical channel #1128

Open
ejbrever opened this issue Jun 13, 2024 · 0 comments
Open

Optical channel reference to it's logical channel #1128

ejbrever opened this issue Jun 13, 2024 · 0 comments

Comments

@ejbrever
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant