Upgrade `InterfaceReference` APIs to handle non-adjacent modules
Open
enhancement
- Dominant language
- Dart
- Stars
- 13
- Forks
- 5
- Avg merge
- 19h 29m
- Merged PRs (30d)
- 7
Description
### Motivation
Some APIs in `InterfaceReference` depend on modules being directly adjacent, e.g.
- `punchUpTo`
- `connectUpTo`
- `connectTo`
- `punchDownTo`
- `connectDownTo`
It would be nice if these APIs automatically did some work in case they are *not* adjacent to punch through levels of hierarchy as needed.
### Desired solution
Update applicable APIs to automatically punch their way through hierarchies as needed.
### Alternatives considered
_No response_
### Additional details
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.