make NodeOutputOrphan referenceable
The removed output need to be referencable so if its parent module is also being remove, the removal happens in the correct order.
This commit is contained in:
parent
e0ad3300c6
commit
e3ea3150ae
|
@ -19,6 +19,11 @@ func (n *NodeOutputOrphan) Name() string {
|
|||
return result
|
||||
}
|
||||
|
||||
// GraphNodeReferenceable
|
||||
func (n *NodeOutputOrphan) ReferenceableName() []string {
|
||||
return []string{"output." + n.OutputName}
|
||||
}
|
||||
|
||||
// GraphNodeSubPath
|
||||
func (n *NodeOutputOrphan) Path() []string {
|
||||
return n.PathValue
|
||||
|
|
Loading…
Reference in New Issue