We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef8b952 commit 955c703Copy full SHA for 955c703
src/scripts/app.ts
@@ -2188,8 +2188,14 @@ export class ComfyApp {
2188
this.vueAppReady &&
2189
useSettingStore().get('Comfy.Validation.Workflows')
2190
) {
2191
- graphData = await validateComfyWorkflow(graphData, /* onError=*/ alert)
2192
- if (!graphData) return
+ // TODO: Show validation error in a dialog.
+ const validatedGraphData = await validateComfyWorkflow(
2193
+ graphData,
2194
+ /* onError=*/ alert
2195
+ )
2196
+ // If the validation failed, use the original graph data.
2197
+ // Ideally we should not block users from loading the workflow.
2198
+ graphData = validatedGraphData ?? graphData
2199
}
2200
2201
const missingNodeTypes = []
0 commit comments