Ensure context is inherited in validation

This commit is contained in:
Josh Gross
2022-12-08 13:55:46 -05:00
parent 7e5c8d20ae
commit f2c04b7b89
3 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ export async function complete(
const expressionInput = (getExpressionInput(currentInput, relCharPos) || "").trim();
const allowedContext = getAllowedContext(token, parent!);
const allowedContext = getAllowedContext(token, parent);
const context = await getContext(allowedContext, contextProviderConfig, workflowContext);
return completeExpression(expressionInput, context, []);