-
Notifications
You must be signed in to change notification settings - Fork 911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: delay step were failing after loop #4619
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit a657606. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution
✅ Successfully ran 2 targetsSent with 💌 from NxCloud. |
@@ -107,7 +110,7 @@ export const newOrUpdatedRowTrigger = createTrigger({ | |||
); | |||
|
|||
const range = | |||
triggerColumn === 'all_columns' | |||
triggerColumn === ALL_COLUMNS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens when a column is called "all_columns"?
An array-based mechanism might be more appropriate here, then we'd also get multiple trigger columns for free.
@@ -67,7 +67,8 @@ export class FlowExecutorContext { | |||
return undefined | |||
} | |||
assertEqual(stepOutput.type, ActionType.LOOP_ON_ITEMS, 'stepOutput.type', 'LOOP_ON_ITEMS') | |||
return stepOutput as LoopStepOutput | |||
// The new LoopStepOutput is needed as casting to LoopStepOutput will just cast the data but the class methods will not be available |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm looking at this on a phone so pardon me if this is a dumb question, but why is it safe to cast to LoopStepOutput
at all?
@@ -44,14 +47,14 @@ export const newOrUpdatedRowTrigger = createTrigger({ | |||
trigger_column: Property.Dropdown({ | |||
displayName: 'Trigger Column', | |||
description: `Trigger on changes to cells in this column only.Select **All Columns** if you want the flow to trigger on changes to any cell within the row.`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't these be translation keys?
What does this PR do?
Fixes # (issue)