Hi folks!
After a few hours of debugging to figure out why the links between my containers were not being shown in my deployment view, I saw
|
// Do not automatically add relationship views across different |
|
// top-level deployment nodes. |
|
// |
|
// Note: this rule is a little bit arbitrary however it is possible |
|
// to override the behavior using `Link` and `Unlink` explicitly in |
|
// the design. We'll see how that works out over time. |
While it is true that you can technically add them using Link, it's not a great DX. Would you be interested on a PR adding something like AddTopLevelLinks (similar to the current AddAll and AddDefault) that is only applicable inside a DeploymentView?
Hi folks!
After a few hours of debugging to figure out why the links between my containers were not being shown in my deployment view, I saw
model/expr/render.go
Lines 101 to 106 in 2461d2e
While it is true that you can technically add them using
Link, it's not a great DX. Would you be interested on a PR adding something likeAddTopLevelLinks(similar to the currentAddAllandAddDefault) that is only applicable inside aDeploymentView?