Answer architecture round 2: a first reach checks only a table's parent, loadReached splits into a batch that loads, runs and puts back, the manifest decodes strictly and reports every mistake, and ErrLoad marks a load failing in New too
This commit is contained in:
@@ -91,7 +91,7 @@ func loadInline(root *folder, n node, label string, typedByGo bool) error {
|
||||
return err
|
||||
}
|
||||
if err := loadReached(root, nil, referenced(root, nil, nodes)); err != nil {
|
||||
return fmt.Errorf("%w: %w", ErrLoad, err)
|
||||
return loadError{err}
|
||||
}
|
||||
return pipeline{
|
||||
nodes: nodes,
|
||||
|
||||
Reference in New Issue
Block a user