Skip to content

Commit

Permalink
fix late binding options for child parse context
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidaguerre committed Oct 18, 2024
1 parent 745e659 commit 7d7e46a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions parse/mod_parse_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ func NewChildModParseContext(parent *ModParseContext, modVersion *versionmap.Res
// create a child run context
child, err := NewModParseContext(parent.WorkspaceLock, rootEvalPath,
WithParseFlags(parent.Flags),
WithListOptions(parent.ListOptions))
WithListOptions(parent.ListOptions),
WithLateBinding(parent.supportLateBinding),
WithConnections(parent.PipelingConnections))

if err != nil {
return nil, err
Expand All @@ -183,11 +185,10 @@ func NewChildModParseContext(parent *ModParseContext, modVersion *versionmap.Res
}
}
child.Credentials = parent.Credentials
child.PipelingConnections = parent.PipelingConnections

child.Integrations = parent.Integrations
child.CredentialImports = parent.CredentialImports
child.Notifiers = parent.Notifiers
child.supportLateBinding = parent.supportLateBinding
child.connectionValueMap = parent.connectionValueMap

// ensure to inherit the value of includeLateBindingResourcesInEvalContext
Expand Down

0 comments on commit 7d7e46a

Please sign in to comment.