don't check for targeted downstream from providers
Since outputs now rely on providers in order to ensure that a schema is available for evaluation, we need to exclude providers from checking TargetDownstream.
This commit is contained in:
parent
fd4b427162
commit
02a6657a71
|
@ -128,6 +128,12 @@ func (t *TargetsTransformer) addDependencies(targetedNodes *dag.Set, g *Graph) (
|
|||
vertices := queue
|
||||
queue = nil // ready to append for next iteration if neccessary
|
||||
for _, v := range vertices {
|
||||
// providers don't cause transitive dependencies, so don't target
|
||||
// downstream from them.
|
||||
if _, ok := v.(GraphNodeProvider); ok {
|
||||
continue
|
||||
}
|
||||
|
||||
dependers := g.UpEdges(v)
|
||||
if dependers == nil {
|
||||
// indicates that there are no up edges for this node, so
|
||||
|
|
Loading…
Reference in New Issue